游雁
2024-02-19 94de39dde2e616a01683c518023d0fab72b4e103
docs/m2met2/conf.py
@@ -1,4 +1,3 @@
import guzzle_sphinx_theme
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
@@ -11,11 +10,19 @@
copyright = '2023, Speech Lab, Alibaba Group; ASLP Group, Northwestern Polytechnical University'
author = 'Speech Lab, Alibaba Group; Audio, Speech and Language Processing Group, Northwestern Polytechnical University'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
    "nbsphinx",
    "sphinx.ext.autodoc",
    'sphinx.ext.napoleon',
    'sphinx.ext.viewcode',
    "sphinx.ext.mathjax",
    "sphinx.ext.todo",
    # "sphinxarg.ext",
    "sphinx_markdown_tables",
    # 'recommonmark',
    'sphinx_rtd_theme',
    'myst_parser',
    'guzzle_sphinx_theme'
]
myst_enable_extensions = [
@@ -28,23 +35,11 @@
myst_heading_anchors = 2
myst_highlight_code_blocks=True
myst_update_mathjax=False
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
source_suffix = [".rst", ".md"]
pygments_style = "sphinx"
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_sidebars = {
    '**': ['logo-text.html',
            'searchbox.html',
            'globaltoc.html']
}
html_theme_path = guzzle_sphinx_theme.html_theme_path()
html_theme = 'guzzle_sphinx_theme'
html_static_path = ['_static']
# html_sidebars = {'**': ['fulltoc.html', 'searchbox.html', 'layout.html']}
html_theme_options = {
    "globaltoc_collapse": False,
    "globaltoc_includehidden": True,
}
html_theme = "sphinx_rtd_theme"