From d2ee974591ca99f9453f8fdcf8615ab3899c4c11 Mon Sep 17 00:00:00 2001 From: endolith Date: Sun, 19 Mar 2023 17:01:25 -0400 Subject: [PATCH] this fixes the headings in TOC and list formatting but breaks mermaid diagrams --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 03440b0..36b2399 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,6 +63,11 @@ '.md': 'markdown', } +# Map the markdown files to the m2r2 parser +source_parsers = { + '.md': 'm2r2.parser.M2RParser', +} + # Copy ./examples/results images into documentation so they show up when # markdown files with relative paths are transcluded (suggested by ChatGPT-4)