Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
3f671a98
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
1 年多 前同步成功
通知
116
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3f671a98
编写于
12月 15, 2021
作者:
S
sibo2rr
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
read the doc
上级
71f8e80e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
25 addition
and
87 deletion
+25
-87
docs/source/conf.py
docs/source/conf.py
+0
-68
docs/zh_CN/conf.py
docs/zh_CN/conf.py
+17
-13
docs/zh_CN/introduction/index.rst
docs/zh_CN/introduction/index.rst
+4
-1
docs/zh_CN/others/index.rst
docs/zh_CN/others/index.rst
+0
-1
docs/zh_CN/readFile.py
docs/zh_CN/readFile.py
+4
-4
未找到文件。
docs/source/conf.py
已删除
100644 → 0
浏览文件 @
71f8e80e
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import
sphinx_rtd_theme
html_theme
=
"sphinx_rtd_theme"
html_theme_path
=
[
sphinx_rtd_theme
.
get_html_theme_path
()]
from
recommonmark.parser
import
CommonMarkParser
# -- Project information -----------------------------------------------------
source_parsers
=
{
'.md'
:
CommonMarkParser
,
}
source_suffix
=
[
'.rst'
,
'.md'
]
project
=
'paddleclas'
copyright
=
'2021, paddleclas'
author
=
'paddleclas'
# The full version, including alpha/beta/rc tags
release
=
'2.3.0'
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions
=
[
]
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language
=
'zh_CN'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns
=
[]
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme
=
'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path
=
[
'_static'
]
docs/zh_CN/conf.py
浏览文件 @
3f671a98
# Configuration file for the Sphinx documentation builder.
from
recommonmark.parser
import
CommonMarkParser
import
sphinx_rtd_theme
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
...
...
@@ -15,16 +13,27 @@ import sphinx_rtd_theme
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
extensions
=
[
'recommonmark'
]
import
sphinx_rtd_theme
import
sphinx_markdown_tables
import
recommonmark
html_theme
=
"sphinx_rtd_theme"
html_theme_path
=
[
sphinx_rtd_theme
.
get_html_theme_path
()]
from
recommonmark.parser
import
CommonMarkParser
# -- Project information -----------------------------------------------------
source_parsers
=
{
'.md'
:
CommonMarkParser
,
}
source_suffix
=
[
'.rst'
,
'.md'
]
extensions
=
[
'recommonmark'
,
'sphinx_markdown_tables'
]
project
=
'paddleclas'
copyright
=
'2021, paddleclas'
author
=
'paddleclas'
# The full version, including alpha/beta/rc tags
release
=
'2.3'
release
=
'2.3
.0
'
# -- General configuration ---------------------------------------------------
...
...
@@ -32,7 +41,6 @@ release = '2.3'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions
=
[
'recommonmark'
]
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
...
...
@@ -43,14 +51,11 @@ templates_path = ['_templates']
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language
=
'zh_CN'
source_parsers
=
{
'.md'
:
CommonMarkParser
,
}
source_suffix
=
[
'.rst'
,
'.md'
]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns
=
[
'_build'
,
'Thumbs.db'
,
'.DS_Store'
]
exclude_patterns
=
[]
# -- Options for HTML output -------------------------------------------------
...
...
@@ -58,7 +63,6 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme
=
'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
...
...
docs/zh_CN/introduction/index.rst
浏览文件 @
3f671a98
...
...
@@ -4,5 +4,8 @@
.. toctree::
:maxdepth: 2
function_intro.md
product.md
logo.md
cartoon.md
more_demo.md
vehicle.md
docs/zh_CN/others/index.rst
浏览文件 @
3f671a98
...
...
@@ -10,7 +10,6 @@
VisualDL.md
versions.md
update_history.md
more_demo.md
train_on_xpu.md
transfer_learning.md
train_with_DALI.md
docs/zh_CN/readFile.py
浏览文件 @
3f671a98
...
...
@@ -27,8 +27,8 @@ def file_name(file_dir):
for
dir
in
temp
:
for
root
,
dirs
,
files
in
os
.
walk
(
dir
):
print
(
root
)
#当前目录路径
files
.
remove
(
'index.rst'
)
if
'index.rst'
in
files
:
files
.
remove
(
'index.rst'
)
print
(
files
)
#当前路径下所有非目录子文件
curDir
=
os
.
path
.
join
(
file_dir
,
dir
)
filename
=
curDir
+
'/index.rst'
...
...
@@ -61,5 +61,5 @@ def readfile(filename):
file_name
(
'./'
)
# filename = './index.rst'
# readfile(filename)
\ No newline at end of file
#filename = './index.rst'
#readfile(filename)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录