From 3c179465c2cf476d23719c853220ee5acbacd136 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 24 七月 2023 17:53:32 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add
---
docs/m2met2/conf.py | 35 +++++++++++++++--------------------
1 files changed, 15 insertions(+), 20 deletions(-)
diff --git a/docs/m2met2/conf.py b/docs/m2met2/conf.py
index 9b2a9b5..a9f7382 100644
--- a/docs/m2met2/conf.py
+++ b/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"
--
Gitblit v1.9.1