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
