Skip to content

Commit ea4e6c7

Browse files
authored
Merge pull request #8772 from luotao1/v2_doc
fix document deployment
2 parents c7b7291 + 3cba54a commit ea4e6c7

34 files changed

+8
-81
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ script:
5656
export DEPLOY_DOCS_SH=https://raw.githubusercontent.com/PaddlePaddle/PaddlePaddle.org/master/scripts/deploy/deploy_docs.sh
5757
export DOCS_DIR=`pwd`
5858
cd ..
59-
curl $DEPLOY_DOCS_SH | bash -s $CONTENT_DEC_PASSWD $TRAVIS_BRANCH $DOCS_DIR $DOCS_DIR/build/doc
59+
curl $DEPLOY_DOCS_SH | bash -s $CONTENT_DEC_PASSWD $TRAVIS_BRANCH $DOCS_DIR $DOCS_DIR/build/doc/v2
6060
notifications:
6161
email:
6262
on_success: change

doc/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
add_subdirectory(api)
21
add_subdirectory(v2)

doc/v2/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ sphinx_add_target(paddle_docs_cn
4747
${SPHINX_CACHE_DIR_CN}
4848
${CMAKE_CURRENT_SOURCE_DIR}
4949
${SPHINX_HTML_DIR_CN})
50+
51+
add_subdirectory(api)

doc/api/CMakeLists.txt renamed to doc/v2/api/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
88
set(SPHINX_HTML_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/html")
99

1010
configure_file(
11-
"${CMAKE_CURRENT_SOURCE_DIR}/../templates/conf.py.en.in"
11+
"${CMAKE_CURRENT_SOURCE_DIR}/../../templates/conf.py.en.in"
1212
"${BINARY_BUILD_DIR_EN}/conf.py"
1313
@ONLY)
1414

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)