3 Star 23 Fork 14

小荷才露尖尖角/Python-100-Days

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
conf.py 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
小荷才露尖尖角 提交于 2个月前 . add sphnix support
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
sys.path.insert(0, os.path.abspath('.'))
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Python-100-Days'
copyright = '2025, LuoHao, Connor'
author = 'LuoHao, Connor'
release = '2025.4.27'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.autosummary',
# 'recommonmark',
'sphinx_copybutton',
'sphinx_toggleprompt',
'sphinx_markdown_tables',
'myst_parser',
]
myst_enable_extensions = [
"amsmath",
"attrs_inline",
"colon_fence",
"deflist",
"dollarmath",
"fieldlist",
"html_admonition",
"html_image",
"linkify",
"replacements",
"smartquotes",
"strikethrough",
"substitution",
"tasklist",
]
templates_path = ['_templates']
exclude_patterns = []
language = 'zh_CN'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme' # 'alabaster'
html_static_path = ['_static']
# html主题的相关设置
html_theme_options = {"collapse_navigation": True, "navigation_depth": 6}
# 在页面底部显示上一次更新于某某时间
html_last_updated_fmt = "%Y-%m-%d %H:%M:%S"
# 图形、表格、代码块如果有标题,自动添加编号, 默认为False
numfig = True
# 搜索结果是否显示详细细节
html_show_search_summary = True
# 是否显示版本,对于read the doc来说就是左上角的版本号
display_version = True
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Heconnor/Python-100-Days.git
git@gitee.com:Heconnor/Python-100-Days.git
Heconnor
Python-100-Days
Python-100-Days
master

搜索帮助