Skip to content
Snippets Groups Projects
Commit 1977032c authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

sphinx: use MyST for markdown rendering

this allows to have full support for all sphinx directives and link types

replaces previous use of plain CommonMark parsing
parent 643141a2
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ extensions = [
"sphinx_rtd_theme",
"sphinx.ext.graphviz",
"sphinx_click.ext",
"myst_parser",
]
# Add any paths that contain templates here, relative to this directory.
......@@ -37,12 +38,7 @@ templates_path = ["_templates"]
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
source_suffix = [".rst", ".md"]
# source_suffix = '.rst'
source_parsers = {
".md": "recommonmark.parser.CommonMarkParser",
}
source_suffix = ".rst"
# The master toctree document.
master_doc = "index"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment