From 180e4957006bb4060ef8aafc0570771f0705e118 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Mon, 27 Apr 2026 06:09:13 +0300 Subject: feat: add swap pre/post build hooks for ReadTheDocs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated by [robots](https://vyos.io) --- .readthedocs.yml | 5 +++++ 1 file changed, 5 insertions(+) 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: -- cgit v1.2.3