From 332b0015336d9c3798189e6f7d88ff254fe7c300 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 23 Mar 2022 19:09:00 +0000 Subject: [PATCH] Fix markdown parsing --- apiserver/docs/source/conf.py | 6 ++---- apiserver/docs/source/index.rst | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apiserver/docs/source/conf.py b/apiserver/docs/source/conf.py index 4ccad33..59bd85c 100644 --- a/apiserver/docs/source/conf.py +++ b/apiserver/docs/source/conf.py @@ -14,8 +14,6 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) -from recommonmark.parser import CommonMarkParser - # -- Project information ----------------------------------------------------- project = 'Spaceport' @@ -29,13 +27,13 @@ author = 'Tanner Collin' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'recommonmark', + 'myst_parser', ] source_suffix = ['.rst', '.md'] source_parsers = { - '.md': 'CommonMarkParser', + '.md': 'markdown', } known_url_schemes = ['http', 'https'] diff --git a/apiserver/docs/source/index.rst b/apiserver/docs/source/index.rst index 918977d..9fbfad6 100644 --- a/apiserver/docs/source/index.rst +++ b/apiserver/docs/source/index.rst @@ -10,7 +10,6 @@ Spaceport Documentation :maxdepth: 2 :caption: Contents: - specs dev apioverview api