From 2fb0804116761aef072021e412b589be551c2f69 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 26 Aug 2024 20:53:38 -0400 Subject: [PATCH] docs: migrate from m2r2 to myst-parser (#701) ## Summary by CodeRabbit - **Documentation Updates** - Updated documentation generation tools to use `myst_parser`, enhancing Markdown compatibility and features. - Improved documentation processing and rendering capabilities. --- docs/conf.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index e3c0b3d4c..a21d19d56 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,7 +49,7 @@ "sphinx.ext.viewcode", "sphinx.ext.intersphinx", "numpydoc", - "m2r2", + "myst_parser", "sphinxarg.ext", "jupyterlite_sphinx", ] diff --git a/pyproject.toml b/pyproject.toml index 05a6e243b..4bf2e64b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ docs = [ 'recommonmark', 'sphinx_rtd_theme>=1.0.0rc1', 'numpydoc', - 'm2r2', + 'myst-parser', 'deepmodeling-sphinx>=0.1.1', 'sphinx-argparse<0.5.0', 'rdkit',