From 805d120286e22137ba8f31e90ff2cc6938532d80 Mon Sep 17 00:00:00 2001 From: AcuGIS Date: Mon, 8 Dec 2025 07:05:58 +0000 Subject: [PATCH] Update docs/conf.py --- docs/conf.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 5444705..59ff536 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ version = '0.1.0' # -- General configuration extensions = [ + 'myst_parser', 'sphinx.ext.duration', 'sphinx.ext.doctest', 'sphinx.ext.autodoc', @@ -19,6 +20,28 @@ extensions = [ 'sphinx.ext.intersphinx', ] + + +# Treat both .rst and .md as valid source files +source_suffix = { + ".rst": "restructuredtext", + ".md": "markdown", +} + +# Your root document (no extension) +master_doc = "index" # or root_doc in newer Sphinx, but master_doc still works + +# Optional but nice: +myst_enable_extensions = [ + "deflist", + "linkify", + "colon_fence", + "substitution", + "tasklist", +] + + + intersphinx_mapping = { 'python': ('https://docs.python.org/3/', None), 'sphinx': ('https://www.sphinx-doc.org/en/master/', None),