更新文档系统归并优化方案

This commit is contained in:
ben
2025-10-29 14:36:13 +00:00
parent 2f96497530
commit 0def756314
332 changed files with 30606 additions and 28342 deletions

View File

@@ -11,9 +11,9 @@ sys.path.insert(0, os.path.abspath('../../'))
# -- Project information -----------------------------------------------------
project = '胡汉三千年 (Hu-Han Three Thousand Years)'
copyright = '2025, 胡汉三千年项目组'
author = '胡汉三千年项目组'
project = '爹学理论研究 (Die Studies)'
copyright = '2025, 爹学理论研究项目组'
author = '爹学理论研究项目组'
release = '1.0.0'
version = '1.0'
@@ -29,6 +29,9 @@ extensions = [
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.githubpages',
'sphinx.ext.autosummary',
'sphinx.ext.doctest',
'sphinx.ext.graphviz',
'myst_parser', # 支持Markdown
]
@@ -62,12 +65,15 @@ html_theme_options = {
'logo_only': False,
'display_version': True,
'prev_next_buttons_location': 'bottom',
'style_external_links': False,
'collapse_navigation': True,
'style_external_links': True,
'collapse_navigation': False,
'sticky_navigation': True,
'navigation_depth': 4,
'includehidden': True,
'titles_only': False
'titles_only': False,
'canonical_url': '',
'vcs_pageview_mode': '',
'style_nav_header_background': '#2980B9',
}
# 网站图标
@@ -118,3 +124,6 @@ myst_enable_extensions = [
"substitution",
"tasklist",
]
def setup(app):
app.add_css_file('custom.css')