summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-04-27 06:09:13 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-06 16:18:03 +0300
commit180e4957006bb4060ef8aafc0570771f0705e118 (patch)
treeccac834b9ace0b292ecde25955608a058f345ac5
parent6d02a00e3adfbaddd85eba1338c1f7d24059d137 (diff)
downloadvyos-documentation-180e4957006bb4060ef8aafc0570771f0705e118.tar.gz
vyos-documentation-180e4957006bb4060ef8aafc0570771f0705e118.zip
feat: add swap pre/post build hooks for ReadTheDocs
🤖 Generated by [robots](https://vyos.io)
-rw-r--r--.readthedocs.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml
index f0ea8c49..6539873e 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -8,6 +8,11 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
+ jobs:
+ pre_build:
+ - python3 scripts/swap_sources.py --swap
+ post_build:
+ - python3 scripts/swap_sources.py --restore
# Build documentation in the docs/ directory with Sphinx
sphinx: