yocto-autobuilder-helper/scripts/docs-build-patches
Richard Purdie 5946a6f028 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml
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 <richard.purdie@linuxfoundation.org>
2022-03-22 22:17:02 +00:00
..
yocto-3.1.14 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
yocto-3.3 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
yocto-3.3.1 scripts: docs-build-patches: fix bitbake objects.inv being used 2022-03-15 22:03:37 +00:00
yocto-3.3.2 scripts: docs-build-patches: fix bitbake objects.inv being used 2022-03-15 22:03:37 +00:00
yocto-3.3.3 scripts: docs-build-patches: fix bitbake objects.inv being used 2022-03-15 22:03:37 +00:00
yocto-3.3.4 scripts: docs-build-patches: fix bitbake objects.inv being used 2022-03-15 22:03:37 +00:00
yocto-3.3.5 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
yocto-3.4 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
yocto-3.4.1 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
yocto-3.4.2 scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00