From 9c16a3c9c82856eb6a3da136758a02a760d73af8 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 4 Feb 2024 23:39:17 +0000 Subject: [PATCH] Switch from recommonmark to myst This addresses issue #43. --- .github/workflows/ci.yml | 2 +- doc/conf.py | 2 +- doc/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad5a25b..876a227 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: pip install setuptools pip install pytest pip install sphinx - pip install recommonmark + pip install myst-parser - name: Build the code run: python ./setup.py build_ext -i diff --git a/doc/conf.py b/doc/conf.py index 6924552..fb8b4a2 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', 'recommonmark'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'myst_parser'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/doc/requirements.txt b/doc/requirements.txt index 02bf565..f0694bd 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1 +1 @@ -recommonmark +myst-parser -- 2.39.5