diff --git a/docs/source/conf.py b/docs/source/conf.py index 0165828..73cb4f1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -88,3 +88,7 @@ def setup(app) -> None: parser = M2RParser() app.add_source_parser(parser) + + # Check if the .md suffix is already registered to avoid conflicts + if ".md" not in app.registry.source_suffix: + app.add_source_suffix(".md", "markdown")