From 084ed5deb6da84ad3a2cd7bd2662dbdf63d4a9d6 Mon Sep 17 00:00:00 2001
From: yhliang <429259365@qq.com>
Date: 星期日, 16 四月 2023 20:16:03 +0800
Subject: [PATCH] update README.md
---
docs_m2met2/conf.py | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/docs_m2met2/conf.py b/docs_m2met2/conf.py
index 47f98e5..1acd230 100644
--- a/docs_m2met2/conf.py
+++ b/docs_m2met2/conf.py
@@ -12,24 +12,22 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
-
extensions = [
- 'nbsphinx',
+ 'myst_parser',
'sphinx_rtd_theme',
- "sphinx.ext.autodoc",
- 'sphinx.ext.napoleon',
- 'sphinx.ext.viewcode',
- "sphinx.ext.mathjax",
- "sphinx.ext.todo",
- "sphinx_markdown_tables",
- "sphinx.ext.githubpages",
- 'recommonmark',
]
-source_suffix = [".rst", ".md"]
+
+myst_enable_extensions = [
+ "colon_fence",
+ "deflist",
+ "dollarmath",
+]
+
+myst_heading_anchors = 2
+myst_highlight_code_blocks=True
+myst_update_mathjax=False
templates_path = ['_templates']
-# exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
-exclude_patterns = []
-pygments_style = "sphinx"
+exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
--
Gitblit v1.9.1