1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: Remove legacy recommonmark, replace with myst_parser
Bug-Debian: http://bugs.debian.org/993623
Author: Lance Lin <LQi254@protonmail.com>
Last-Update: 2022-04-07
Forwarded: not-needed
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -30,7 +30,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-extensions = []
+extensions = ['myst_parser']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -174,12 +174,3 @@
author, 'seqcluster', 'small RNAseq cluster detection.',
'Miscellaneous'),
]
-
-
-from recommonmark.parser import CommonMarkParser
-
-source_parsers = {
- '.md': CommonMarkParser,
- }
-
-source_suffix = ['.rst','.md']
|