Skip to content

Commit 41cbfbb

Browse files
committed
* fix html_static_path warning
* add write_new_layers in rst tree
1 parent 2f78677 commit 41cbfbb

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

doc/templates/conf.py.cn.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ html_theme = 'sphinx_rtd_theme'
121121
# Add any paths that contain custom static files (such as style sheets) here,
122122
# relative to this directory. They are copied after the builtin static files,
123123
# so a file named "default.css" will overwrite the builtin "default.css".
124-
html_static_path = ['@PADDLE_SOURCE_DIR@/doc_theme/static']
124+
#html_static_path = []
125125

126126
# Output file base name for HTML help builder.
127127
htmlhelp_basename = project + 'doc'

doc/templates/conf.py.en.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ html_theme = 'sphinx_rtd_theme'
121121
# Add any paths that contain custom static files (such as style sheets) here,
122122
# relative to this directory. They are copied after the builtin static files,
123123
# so a file named "default.css" will overwrite the builtin "default.css".
124-
html_static_path = ['@PADDLE_SOURCE_DIR@/doc_theme/static']
124+
#html_static_path = []
125125

126126
# Output file base name for HTML help builder.
127127
htmlhelp_basename = project + 'doc'

doc/v2/dev/index_cn.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66

77
contribute_to_paddle_cn.md
88
write_docs_cn.rst
9+
new_layer_cn.rst

doc/v2/dev/index_en.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Development
66

77
contribute_to_paddle_en.md
88
write_docs_en.rst
9+
new_layer_en.rst

doc/v2/dev/new_layer_cn.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
================
2-
实现新的网络层
3-
================
1+
==================
2+
如何实现新的网络层
3+
==================
44

55
这份教程展示了如何在PaddlePaddle中实现一个自定义的网络层。在这里我们使用全连接层作为例子来展示实现新网络层所需要的四个步骤。
66

doc/v2/howto/index_en.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ HOW TO
66

77
cmd_parameter/index_en.rst
88
cluster/index_en.rst
9+
capi/index_en.rst
910
rnn/index_en.rst
1011
optimization/gpu_profiling_en.rst

0 commit comments

Comments
 (0)