summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-06 21:05:20 +0300
committerGitHub <noreply@github.com>2026-05-06 21:05:20 +0300
commit7cf51e1c2901f6d1b01e9bff194f7188bc29e417 (patch)
treeafe2bc5b4426837530f2b4e0ab9840c81337a4c2 /docs/conf.py
parent631e454d674ad5111d2b56a6964ead461894a1f6 (diff)
parent97d12b42d997627be6f33528ba2625bd0378de74 (diff)
downloadvyos-documentation-7cf51e1c2901f6d1b01e9bff194f7188bc29e417.tar.gz
vyos-documentation-7cf51e1c2901f6d1b01e9bff194f7188bc29e417.zip
Merge pull request #1899 from vyos/feat/myst-as-primary-current
feat: MD as primary, RST as override — Phase 1 (rename + exclude flip on current)
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index b5019407..76a00577 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -91,14 +91,14 @@ gettext_uuid = False
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = [
u'_build', 'Thumbs.db', '.DS_Store', '_include/vyos-1x',
- 'md-*.md', '**/md-*.md',
+ 'rst-*.rst', '**/rst-*.rst',
]
import pathlib
_build = pathlib.Path(__file__).parent / '_build'
-if (_build / '_swap_state.json').exists() and (_build / '_swap_exclude.txt').exists():
+if (_build / '_rst_override_state.json').exists() and (_build / '_md_exclude.txt').exists():
exclude_patterns.extend(
- s for s in (line.strip() for line in (_build / '_swap_exclude.txt').read_text().splitlines()) if s
+ s for s in (line.strip() for line in (_build / '_md_exclude.txt').read_text().splitlines()) if s
)
# The name of the Pygments (syntax highlighting) style to use.