Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
Python_Packaging_Authority
pip
提交
19717d17
P
pip
项目概览
镜像
/
Python_Packaging_Authority
/
pip
12 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
pip
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
19717d17
编写于
10月 19, 2020
作者:
P
Pradyun Gedam
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Switch documentation theme to Furo
上级
5bfc0259
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
21 deletion
+7
-21
docs/html/conf.py
docs/html/conf.py
+6
-19
tools/requirements/docs.txt
tools/requirements/docs.txt
+1
-2
未找到文件。
docs/html/conf.py
浏览文件 @
19717d17
...
...
@@ -128,9 +128,6 @@ exclude_patterns = ['build/']
# output. They are ignored by default.
# show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style
=
'sphinx'
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
...
...
@@ -147,25 +144,18 @@ sphinx_tabs_nowarn = True
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme
=
"
pypa_theme
"
html_theme
=
"
furo
"
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options
=
{
'collapsiblesidebar'
:
True
,
'externalrefs'
:
True
,
'navigation_depth'
:
3
,
'issues_url'
:
'https://github.com/pypa/pip/issues'
,
'codebgcolor'
:
'#eeffcc'
,
'codetextcolor'
:
'#333333'
,
}
html_theme_options
=
{}
# Add any paths that contain custom themes here, relative to this directory.
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
# html_title = None
html_title
=
f
"
{
project
}
documentation v
{
release
}
"
# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None
...
...
@@ -182,7 +172,7 @@ html_theme_options = {
# 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'
]
html_static_path
=
[]
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
...
...
@@ -205,10 +195,7 @@ smartquotes = True
smartquotes_action
=
"qe"
# Custom sidebar templates, maps document names to template names.
html_sidebars
=
{
'**'
:
[
'localtoc.html'
,
'relations.html'
],
'index'
:
[
'localtoc.html'
]
}
html_sidebars
=
{}
# Additional templates that should be rendered to pages, maps page names to
# template names.
...
...
@@ -322,7 +309,7 @@ docs_feedback_admonition_type = 'important'
docs_feedback_big_doc_lines
=
50
# bigger docs will have a banner on top
docs_feedback_email
=
'Docs UX Team <docs-feedback+ux/pip.pypa.io@pypa.io>'
docs_feedback_excluded_documents
=
{
# these won't have any banners
'news'
,
'news'
,
'reference/index'
,
}
docs_feedback_questions_list
=
(
'What problem were you trying to solve when you came to this page?'
,
...
...
tools/requirements/docs.txt
浏览文件 @
19717d17
sphinx == 3.2.1
git+https://github.com/python/python-docs-theme.git#egg=python-docs-theme
git+https://github.com/pypa/pypa-docs-theme.git#egg=pypa-docs-theme
furo
sphinx-inline-tabs
# `docs.pipext` uses pip's internals to generate documentation. So, we install
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录