From a9aed808b68082d923013094cd4f274b2bc6e7c5 Mon Sep 17 00:00:00 2001 From: endolith Date: Mon, 18 Nov 2024 14:08:07 -0500 Subject: [PATCH] maybe fix ref links --- docs/conf.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 6475a6d..4eab4a0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -92,5 +92,21 @@ def setup(app): # Add this to enable regular markdown mermaid syntax myst_fence_as_directive = ["mermaid"] +# MyST configuration +myst_enable_extensions = [ + "colon_fence", # For ::: fences + "dollarmath", # For $$ + "linkify", # Auto-convert bare URLs to links + "substitution", # For {{ var }} + "tasklist", # For [ ] task lists +] + +# Enable MyST to parse reST directives in markdown +myst_all_links_external = True +myst_heading_anchors = 3 +myst_footnote_transition = True +myst_dmath_double_inline = True +myst_enable_checkboxes = True + # Add README.md as the index page root_doc = 'index' # or 'contents' in older versions