summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-10 18:55:55 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-10 18:55:55 +0300
commit863640ef172929f003d53d41087005485887e29c (patch)
treef2192534db7bf24d5cc88fafd03d3e7ef8b1f285 /docs/conf.py
parent266acf2829fdcf809fe851203d8e34167075dd3f (diff)
downloadvyos-documentation-863640ef172929f003d53d41087005485887e29c.tar.gz
vyos-documentation-863640ef172929f003d53d41087005485887e29c.zip
docs: drop stray terraformvyos.rst and remove .rst from source_suffix
The .md equivalent already exists alongside it; with both present and `source_suffix = ['.rst', '.md']`, Sphinx silently preferred the .rst. Deletion removes the shadowing and the only active .rst left in tree (legacy is archived under docs/_rst_legacy/). Restricting source_suffix to ['.md'] prevents future stray .rst files from being picked up, and is what external indexers (e.g. context7) look at when classifying the source format of the docs. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 8c76c43c..3a3a8522 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -70,10 +70,7 @@ autosectionlabel_prefix_document = True
# The suffix(es) of source filenames.
-# You can specify multiple suffix as a list of string:
-#
-# source_suffix = ['.rst', '.md']
-source_suffix = ['.rst', '.md']
+source_suffix = ['.md']
myst_enable_extensions = ["colon_fence", "deflist", "fieldlist", "substitution"]
myst_fence_as_directive = ["cfgcmd", "opcmd", "cmdincludemd"]