diff mbox series

[yocto-autobuilder-helper,4/4] scripts/run-docs-build: backport the footer.html file to all releases

Message ID 20260223-fix-switchers-js-ydocs-v1-4-6f58a78ee8c3@bootlin.com
State New
Headers show
Series Adaptation for the new yocto-docs switcher menu | expand

Commit Message

Antonin Godard Feb. 23, 2026, 11:03 a.m. UTC
We want the footer to be consistent accross all releases that build with
Sphinx, fetch it from the master branch.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/run-docs-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index fed5e61..b97f20c 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -199,7 +199,7 @@  for branch in "$ypdocsbranch" dunfell $(git branch --remote --contains "$first_s
         git apply -3 "${scriptdir}/docs-build-patches/${branch}/"000*
     fi
 
-    git checkout origin/master sphinx-static/switchers.js.in set_versions.py
+    git checkout origin/master sphinx-static/switchers.js.in set_versions.py _templates/footer.html
     if [ -e poky.yaml ]; then
         cp poky.yaml poky.yaml.in
     fi