Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
0a135de5
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0a135de5
编写于
5月 24, 2018
作者:
W
Wang,Jeff
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use the cmake configure_file to setup imports for API docs
上级
b568fbed
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
19 addition
and
4 deletion
+19
-4
doc/fluid/CMakeLists.txt
doc/fluid/CMakeLists.txt
+3
-0
doc/fluid/api/CMakeLists.txt
doc/fluid/api/CMakeLists.txt
+3
-0
doc/mobile/CMakeLists.txt
doc/mobile/CMakeLists.txt
+3
-0
doc/templates/conf.py.cn.in
doc/templates/conf.py.cn.in
+2
-2
doc/templates/conf.py.en.in
doc/templates/conf.py.en.in
+2
-2
doc/v2/CMakeLists.txt
doc/v2/CMakeLists.txt
+3
-0
doc/v2/api/CMakeLists.txt
doc/v2/api/CMakeLists.txt
+3
-0
未找到文件。
doc/fluid/CMakeLists.txt
浏览文件 @
0a135de5
...
...
@@ -15,6 +15,9 @@ set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
# HTML output director
set
(
SPHINX_HTML_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/html"
)
set
(
IMPORT_PADDLE_STRING
""
)
set
(
IMPORT_PADDLEV2_STRING
""
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../templates/conf.py.en.in"
"
${
BINARY_BUILD_DIR_EN
}
/conf.py"
...
...
doc/fluid/api/CMakeLists.txt
浏览文件 @
0a135de5
...
...
@@ -7,6 +7,9 @@ set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
# HTML output director
set
(
SPHINX_HTML_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/html"
)
set
(
IMPORT_PADDLE_STRING
"import paddle"
)
set
(
IMPORT_PADDLEV2_STRING
"import paddle.v2"
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../templates/conf.py.en.in"
"
${
BINARY_BUILD_DIR_EN
}
/conf.py"
...
...
doc/mobile/CMakeLists.txt
浏览文件 @
0a135de5
...
...
@@ -15,6 +15,9 @@ set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
# HTML output director
set
(
SPHINX_HTML_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/html"
)
set
(
IMPORT_PADDLE_STRING
""
)
set
(
IMPORT_PADDLEV2_STRING
""
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../templates/conf.py.en.in"
"
${
BINARY_BUILD_DIR_EN
}
/conf.py"
...
...
doc/templates/conf.py.cn.in
浏览文件 @
0a135de5
...
...
@@ -16,8 +16,8 @@ import os, subprocess
sys.path.insert(0, os.path.abspath('@PADDLE_BINARY_DIR@/python'))
import shlex
from recommonmark import parser, transform
import paddle
import paddle.v2
@IMPORT_PADDLE_STRING@
@IMPORT_PADDLEV2_STRING@
MarkdownParser = parser.CommonMarkParser
AutoStructify = transform.AutoStructify
...
...
doc/templates/conf.py.en.in
浏览文件 @
0a135de5
...
...
@@ -16,8 +16,8 @@ import os, subprocess
sys.path.insert(0, os.path.abspath('@PADDLE_BINARY_DIR@/python'))
import shlex
from recommonmark import parser, transform
import paddle
import paddle.v2
@IMPORT_PADDLE_STRING@
@IMPORT_PADDLEV2_STRING@
MarkdownParser = parser.CommonMarkParser
...
...
doc/v2/CMakeLists.txt
浏览文件 @
0a135de5
...
...
@@ -15,6 +15,9 @@ set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
# HTML output director
set
(
SPHINX_HTML_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/html"
)
set
(
IMPORT_PADDLE_STRING
""
)
set
(
IMPORT_PADDLEV2_STRING
""
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../templates/conf.py.en.in"
"
${
BINARY_BUILD_DIR_EN
}
/conf.py"
...
...
doc/v2/api/CMakeLists.txt
浏览文件 @
0a135de5
...
...
@@ -7,6 +7,9 @@ set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
# HTML output director
set
(
SPHINX_HTML_DIR_EN
"
${
CMAKE_CURRENT_BINARY_DIR
}
/en/html"
)
set
(
IMPORT_PADDLE_STRING
"import paddle"
)
set
(
IMPORT_PADDLEV2_STRING
"import paddle.v2"
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../templates/conf.py.en.in"
"
${
BINARY_BUILD_DIR_EN
}
/conf.py"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录