Skip to content

Commit 5d9dbe1

Browse files
committed
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add-program-cache-for-executor
2 parents 1ee7784 + f45a82b commit 5d9dbe1

File tree

165 files changed

+278
-946
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+278
-946
lines changed

doc/CMakeLists.txt

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,2 @@
1-
if(NOT DEFINED SPHINX_THEME)
2-
set(SPHINX_THEME default)
3-
endif()
4-
5-
if(NOT DEFINED SPHINX_THEME_DIR)
6-
set(SPHINX_THEME_DIR)
7-
endif()
8-
9-
# configured documentation tools and intermediate build results
10-
set(BINARY_BUILD_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_build")
11-
12-
# Sphinx cache with pickled ReST documents
13-
set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
14-
15-
# HTML output director
16-
set(SPHINX_HTML_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/html")
17-
18-
configure_file(
19-
"${CMAKE_CURRENT_SOURCE_DIR}/templates/conf.py.en.in"
20-
"${BINARY_BUILD_DIR_EN}/conf.py"
21-
@ONLY)
22-
23-
sphinx_add_target(paddle_docs
24-
html
25-
${BINARY_BUILD_DIR_EN}
26-
${SPHINX_CACHE_DIR_EN}
27-
${CMAKE_CURRENT_SOURCE_DIR}
28-
${SPHINX_HTML_DIR_EN})
29-
30-
# configured documentation tools and intermediate build results
31-
set(BINARY_BUILD_DIR_CN "${CMAKE_CURRENT_BINARY_DIR}/cn/_build")
32-
33-
# Sphinx cache with pickled ReST documents
34-
set(SPHINX_CACHE_DIR_CN "${CMAKE_CURRENT_BINARY_DIR}/cn/_doctrees")
35-
36-
# HTML output directory
37-
set(SPHINX_HTML_DIR_CN "${CMAKE_CURRENT_BINARY_DIR}/cn/html")
38-
39-
configure_file(
40-
"${CMAKE_CURRENT_SOURCE_DIR}/templates/conf.py.cn.in"
41-
"${BINARY_BUILD_DIR_CN}/conf.py"
42-
@ONLY)
43-
44-
sphinx_add_target(paddle_docs_cn
45-
html
46-
${BINARY_BUILD_DIR_CN}
47-
${SPHINX_CACHE_DIR_CN}
48-
${CMAKE_CURRENT_SOURCE_DIR}
49-
${SPHINX_HTML_DIR_CN})
50-
511
add_subdirectory(api)
2+
add_subdirectory(v2)

doc/dev/contribute_to_paddle_en.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)