Skip to content

Commit af607df

Browse files
authored
Merge pull request #1546 from reyoung/feature/v2_docs
Start doing v2 documentation
2 parents 349e799 + 6b0961a commit af607df

33 files changed

+152
-139
lines changed

cmake/FindSphinx.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function( Sphinx_add_target target_name builder conf cache source destination )
7272
${source}
7373
${destination}
7474
COMMENT "Generating sphinx documentation: ${builder}"
75-
COMMAND ln -sf ${destination}/index_*.html ${destination}/index.html
75+
COMMAND cd ${destination} && ln -s ./index_*.html index.html
7676
)
7777

7878
set_property(

doc/api/index_cn.rst

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,2 @@
1-
API中文手册
2-
============
3-
4-
DataProvider API
5-
----------------
6-
7-
.. toctree::
8-
:maxdepth: 1
9-
10-
data_provider/dataprovider_cn.rst
11-
data_provider/pydataprovider2_cn.rst
12-
13-
.. _api_trainer_config:
14-
15-
Model Config API
16-
----------------
17-
18-
.. toctree::
19-
:maxdepth: 1
20-
21-
trainer_config_helpers/optimizers.rst
22-
trainer_config_helpers/data_sources.rst
23-
trainer_config_helpers/layers.rst
24-
trainer_config_helpers/activations.rst
25-
trainer_config_helpers/poolings.rst
26-
trainer_config_helpers/networks.rst
27-
trainer_config_helpers/evaluators.rst
28-
trainer_config_helpers/attrs.rst
29-
30-
31-
Applications API
32-
----------------
33-
34-
.. toctree::
35-
:maxdepth: 1
36-
37-
predict/swig_py_paddle_cn.rst
1+
API
2+
===

doc/api/index_en.rst

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,10 @@
11
API
22
===
33

4-
DataProvider API
5-
----------------
6-
7-
.. toctree::
8-
:maxdepth: 1
9-
10-
data_provider/dataprovider_en.rst
11-
data_provider/pydataprovider2_en.rst
12-
13-
.. _api_trainer_config:
14-
154
Model Config API
165
----------------
176

187
.. toctree::
198
:maxdepth: 1
209

21-
trainer_config_helpers/optimizers.rst
22-
trainer_config_helpers/data_sources.rst
23-
trainer_config_helpers/layers.rst
24-
trainer_config_helpers/activations.rst
25-
trainer_config_helpers/poolings.rst
26-
trainer_config_helpers/networks.rst
27-
trainer_config_helpers/evaluators.rst
28-
trainer_config_helpers/attrs.rst
29-
30-
31-
Applications API
32-
----------------
33-
34-
.. toctree::
35-
:maxdepth: 1
36-
37-
predict/swig_py_paddle_en.rst
10+
v2/model_configs.rst
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)