Update docs/conf.py

This commit is contained in:
AcuGIS 2025-12-08 07:05:58 +00:00
parent e46f0b5d0b
commit 805d120286
1 changed files with 23 additions and 0 deletions

View File

@ -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),