Hi Richard, On 3/19/22 16:28, Richard Purdie wrote: > This uses the set_versions.py script from the docs master branch to handle > creation of the swictchers.js version information as well as the data in > poky.yaml. > > This allows patches to those sections of the docs to be dropped. > > It is assumed the patch to use set_versions is applied to the docs transitions > branch so that it's switchers.js files no longer need to be tweaked. > > This does lead to user visible changes on the website: > > - Older versioned released docs gain their current version and the > latest version listed in the switcher rather than being unlisted > - The list of releases is normally filtered down to our active ones > (hardknott, honister and dev right now) > - 3.3's doc references to gatesgath are corrected to hardknott > - Docs for unversioned release branches (not linked on the website) now > use 3.1.999 versioning instead of confusing them with the last relased > version > - 3.1.13 refers to 3.1.13 instead of 3.1.12 > > all of which seem to be reasonable improvements. > > The big advantage of these changes is that with a single change to the script > in the master branch, the right thing should happen for all the current docs > and at release time, only a docs rebuild should need to be triggered after > tags > are pushed. > > Signed-off-by: Richard Purdie <[email protected]> > --- > ...01-releases-update-to-include-3.1.14.patch | 41 ------------ > ...umentation-update-for-3.1.14-release.patch | 23 ------- > ...umentation-prepare-for-3.3.5-release.patch | 53 --------------- > .../0001-conf-update-for-release.patch | 17 ----- > ...honister-updates-for-recent-releases.patch | 67 ------------------- > ...001-releases-update-to-include-3.4.2.patch | 63 ----------------- > .../0001-conf-update-for-release.patch | 17 ----- > scripts/run-docs-build | 24 +++++-- > 8 files changed, 20 insertions(+), 285 deletions(-) > delete mode 100644 > scripts/docs-build-patches/yocto-3.1.14/0001-releases-update-to-include-3.1.14.patch > delete mode 100644 > scripts/docs-build-patches/yocto-3.4.2/0001-releases-update-to-include-3.4.2.patch
Looks good to me. Thanks for the simplification. Reviewed-by: Michael Opdenacker <[email protected]> Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56516): https://lists.yoctoproject.org/g/yocto/message/56516 Mute This Topic: https://lists.yoctoproject.org/mt/89890479/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
