mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00

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>
32 lines
851 B
Diff
32 lines
851 B
Diff
From 02f6e97894aa768ca1a7546646c35a175aca9a33 Mon Sep 17 00:00:00 2001
|
|
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
Date: Fri, 1 Oct 2021 17:21:48 +0200
|
|
Subject: [PATCH] conf: update for release 3.3
|
|
|
|
conf.py:
|
|
* set version to 3.3
|
|
|
|
switchers.js:
|
|
* add 3.3 release
|
|
* update 'dev' to 3.4
|
|
|
|
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
|
|
---
|
|
documentation/conf.py | 2 +-
|
|
documentation/sphinx-static/switchers.js | 3 ++-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/documentation/conf.py b/documentation/conf.py
|
|
index 5a2e25f7b..ab1b2b14c 100644
|
|
--- a/documentation/conf.py
|
|
+++ b/documentation/conf.py
|
|
@@ -16,7 +16,7 @@ import os
|
|
import sys
|
|
import datetime
|
|
|
|
-current_version = "dev"
|
|
+current_version = "3.3"
|
|
|
|
# String used in sidebar
|
|
version = 'Version: ' + current_version
|