From 20c0852ab6718956fa1f8ceaff2978bb8af93daf Mon Sep 17 00:00:00 2001 From: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Date: Wed, 20 Apr 2022 19:41:46 +0800 Subject: [PATCH] use my_st rather than recommonmark (#7763) --- docs/en/conf.py | 2 +- docs/zh_cn/conf.py | 2 +- requirements/docs.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/conf.py b/docs/en/conf.py index 9227f98095b..fe91e50c2a0 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -44,7 +44,7 @@ def get_version(): 'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', - 'recommonmark', + 'myst_parser', 'sphinx_markdown_tables', 'sphinx_copybutton', ] diff --git a/docs/zh_cn/conf.py b/docs/zh_cn/conf.py index 2dc42daae66..816593cc3c1 100644 --- a/docs/zh_cn/conf.py +++ b/docs/zh_cn/conf.py @@ -44,7 +44,7 @@ def get_version(): 'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', - 'recommonmark', + 'myst_parser', 'sphinx_markdown_tables', 'sphinx_copybutton', ] diff --git a/requirements/docs.txt b/requirements/docs.txt index 45885d9b007..2794882e5c4 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,6 +1,6 @@ docutils==0.16.0 -e git+https://github.com/open-mmlab/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme -recommonmark +myst-parser sphinx==4.0.2 sphinx-copybutton sphinx_markdown_tables