From: Quentin Schulz <[email protected]> set_versions.py and switchers.js.in need to be up-to-date so that a consistent behavior is kept between different branches and tags of the documentation.
Right now, kirkstone branch is lagging behind master and therefore does not have the latest changes from master (e.g. the new obsolete algorithm, which obviously isn't an issue right now, but will be in two years). Using master version for those scripts also lightens the maintenance burden. Cc: Quentin Schulz <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> --- scripts/run-docs-build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/run-docs-build b/scripts/run-docs-build index a060a31..8044b60 100755 --- a/scripts/run-docs-build +++ b/scripts/run-docs-build @@ -102,11 +102,9 @@ for branch in dunfell $(git branch --remote --contains "$first_sphinx_commit" -- git am "${scriptdir}/docs-build-patches/${branch}/"000* fi - git checkout master releases.rst + git checkout master releases.rst sphinx-static/switchers.js.in set_versions.py if [ -e poky.yaml ]; then - git checkout master sphinx-static/switchers.js.in cp poky.yaml poky.yaml.in - git checkout master set_versions.py case $branch in yocto-*) ./set_versions.py $(echo "$branch" | sed 's/yocto-//') -- 2.35.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56810): https://lists.yoctoproject.org/g/yocto/message/56810 Mute This Topic: https://lists.yoctoproject.org/mt/90566466/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
