From f4bb09f5fd3d92a9d4a812a020a49d71c028084d Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 7 Feb 2023 21:03:41 +0000 Subject: [PATCH] Add MyST parser --- docs/conf.py | 4 ++-- docs/requirements.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b53e6a7e7..b1a97750a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,13 +23,13 @@ now = datetime.now() # 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"] # The suffix of source filenames. -source_suffix = ".rst" +source_suffix = [".rst", ".md"] # The encoding of source files. # source_encoding = 'utf-8-sig' diff --git a/docs/requirements.txt b/docs/requirements.txt index 0982f3d25..d86ecffa9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ sphinx==6.1.3 sphinx-rtd-theme==1.2.0 +myst-parser==0.19.0