yocto-autobuilder-helper/scripts/docs-build-patches/yocto-3.4.1/0002-honister-updates-for-recent-releases.patch
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

27 lines
871 B
Diff

From a6b10a8e2491e284e7faf439fa196605ddf40943 Mon Sep 17 00:00:00 2001
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
Date: Mon, 13 Dec 2021 16:17:47 +0100
Subject: [PATCH] [honister] updates for recent releases
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
documentation/conf.py | 2 +-
documentation/poky.yaml | 8 ++++----
documentation/releases.rst | 8 ++++++++
documentation/sphinx-static/switchers.js | 4 ++--
4 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/documentation/conf.py b/documentation/conf.py
index eff758a7b..ef369b7f1 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -16,7 +16,7 @@ import os
import sys
import datetime
-current_version = "3.4"
+current_version = "3.4.1"
bitbake_version = "1.52"
# String used in sidebar