summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: