From 0ae1e88c89ff1207c6f5e37a2604e992e39343c1 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 26 Apr 2021 13:25:57 +0300 Subject: [PATCH] Make documentation work with the latest version of sphinx --- docs/conf.py | 9 +-------- requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5dd4f004..eb628ff2 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,6 +31,7 @@ needs_sphinx = '1.4' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'myst_parser' ] # Add any paths that contain templates here, relative to this directory. @@ -78,14 +79,6 @@ pygments_style = 'sphinx' todo_include_todos = False -# -- Source ------------------------------------------------------------- - -source_parsers = { - '.md': 'recommonmark.parser.CommonMarkParser', -} - -source_suffix = ['.rst', '.md'] - # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for diff --git a/requirements-dev.txt b/requirements-dev.txt index 2d1d7df1..e3626352 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ docker +myst-parser pre-commit pytest -recommonmark requests sphinx>=1.6 sphinx-intl