From b09d1ba9aad3200e2fd173f49a3cfe3cb8c1cb61 Mon Sep 17 00:00:00 2001 From: Christopher Schwardt Date: Thu, 15 Jan 2026 11:51:22 +0100 Subject: [PATCH] replace discontinued recommonmark with myst-parser --- docs/requirements.txt | 2 +- docs/source/conf.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 6d55b9e..239e9ee 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,7 +2,7 @@ sphinx==7.2.6 sphinx_rtd_theme==2.0.0 sphinxcontrib-apidoc readthedocs-sphinx-search==0.3.2 -recommonmark==0.7.1 +myst-parser jinja2==3.1.6 # needed for sphinxcontrib-apidoc to do its thing diff --git a/docs/source/conf.py b/docs/source/conf.py index fb6d003..8eaa45c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -22,14 +22,14 @@ templates_path = ['_templates'] exclude_patterns = ['build'] -source_suffix = '.rst' +source_suffix = {'.rst': 'restructuredtext'} master_doc = 'index' language = 'en' exclude_patterns = [] pygments_style = None extensions = [ - 'recommonmark', + 'myst_parser', 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.doctest',