Skip to content

Commit 4ca2209

Browse files
committed
Merge branch 'develop' into v2_doc
2 parents c6df405 + 95a28d1 commit 4ca2209

File tree

10 files changed

+12
-808
lines changed

10 files changed

+12
-808
lines changed

doc/templates/conf.py.cn.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ import paddle.v2
2121

2222
MarkdownParser = parser.CommonMarkParser
2323
AutoStructify = transform.AutoStructify
24+
2425
# If extensions (or modules to document with autodoc) are in another directory,
2526
# add these directories to sys.path here. If the directory is relative to the
2627
# documentation root, use os.path.abspath to make it absolute, like shown here.
27-
templates_path = ["@PADDLE_SOURCE_DIR@/doc_theme/templates"]
28+
templates_path = ["@PADDLE_SOURCE_DIR@/doc/templates"]
2829

2930
# -- General configuration ------------------------------------------------
3031

doc/templates/conf.py.en.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ import paddle.v2
2222

2323
MarkdownParser = parser.CommonMarkParser
2424
AutoStructify = transform.AutoStructify
25+
2526
# If extensions (or modules to document with autodoc) are in another directory,
2627
# add these directories to sys.path here. If the directory is relative to the
2728
# documentation root, use os.path.abspath to make it absolute, like shown here.
28-
templates_path = ["@PADDLE_SOURCE_DIR@/doc_theme/templates"]
29+
templates_path = ["@PADDLE_SOURCE_DIR@/doc/templates"]
2930

3031
# -- General configuration ------------------------------------------------
3132

doc/templates/layout.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
{# Import the theme's layout. #}
33
{% extends "!layout.html" %}
44

5+
{# SIDE NAV, TOGGLES ON MOBILE #}
6+
{% block menu %}
7+
<nav class="doc-menu-vertical" role="navigation">
8+
{% set toctree = toctree(maxdepth=-1, collapse=False,titles_only=True, includehidden=True) %}
9+
{{ toctree }}
10+
</nav>
11+
{% endblock %}
512

613
{%- block extrahead %}
714
<script>

doc_theme/static/css/override.css

Lines changed: 0 additions & 509 deletions
This file was deleted.

doc_theme/static/images/PP_w.png

-3.11 KB
Binary file not shown.

doc_theme/static/js/paddle_doc_init.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

doc_theme/templates/breadcrumbs.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

doc_theme/templates/layout.html

Lines changed: 0 additions & 189 deletions
This file was deleted.

doc_theme/templates/search.html

Lines changed: 0 additions & 52 deletions
This file was deleted.

python/paddle/fluid/tests/book_memory_optimization/test_memopt_fit_a_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
place = fluid.CPUPlace()
3232
if fluid.core.is_compiled_with_cuda():
3333
device_type = 'CUDA'
34-
use_nccl = True
34+
use_nccl = False
3535
place = fluid.CUDAPlace(0)
3636

3737
places = fluid.layers.get_places(device_count=0, device_type=device_type)

0 commit comments

Comments
 (0)