From cbde034a04f6fb451ac9ab88fa44b92e9ca3979b Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 16 Apr 2023 21:21:53 +0200 Subject: [PATCH] Update sphinx config for newer recommonmark versions Old things are old, let's drop them. --- doc/conf.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 0d2504a..80bedbd 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -25,7 +25,7 @@ sys.path.insert(0, os.path.abspath('../')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'recommonmark'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -90,12 +90,6 @@ pygments_style = 'sphinx' keep_warnings = True -# Note: this is still needed in Sphinx 1.8 with recommonmark 0.4.0 -# (https://github.com/readthedocs/recommonmark/issues/119): -source_parsers = { - '.md': 'recommonmark.parser.CommonMarkParser', -} - # -- Options for HTML output --------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for -- 2.39.5