diff --git a/docs/zh/conf.py b/docs/zh/conf.py index e332272..7cada4d 100644 --- a/docs/zh/conf.py +++ b/docs/zh/conf.py @@ -85,7 +85,7 @@ root_doc = 'index' # 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', 'source/.ipynb_checkpoints', 'source/api/generated', 'Thumbs.db', '.DS_Store'] +exclude_patterns = ['build'] # A list of glob-style patterns [1] that are used to find source files. # They are matched against the source file names relative to the source directory, # using slashes as directory separators on all platforms. @@ -120,4 +120,9 @@ myst_enable_extensions = [ 'amsmath', 'dollarmath', 'colon_fence', -] \ No newline at end of file +] + +myst_heading_anchors = 2 +myst_footnote_transition = True + +html_use_opensearch = '/docs/zh/' \ No newline at end of file diff --git a/docs/zh/index.rst b/docs/zh/index.rst index b209cb1..67150cf 100644 --- a/docs/zh/index.rst +++ b/docs/zh/index.rst @@ -6,7 +6,6 @@ DiffSynth-Studio 文档 :caption: 文档介绍 README - QA .. toctree:: :maxdepth: 2