mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
docs: update Bitbake objects.inv location for master branch
master branch of Bitbake is now located at docs.yoctoproject.org/dev instead of docs.yoctoproject.org so let's update the switchers and set_versions.py to reflect that change. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: 18338292d99ed236e2bac6e73a5152ef11c4a9e5) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ee6d170d87
commit
ea99def6bf
@@ -128,7 +128,7 @@ else:
|
|||||||
if branch == "master":
|
if branch == "master":
|
||||||
ourseries = devbranch
|
ourseries = devbranch
|
||||||
docconfver = "dev"
|
docconfver = "dev"
|
||||||
bitbakeversion = ""
|
bitbakeversion = "dev"
|
||||||
elif branch in release_series:
|
elif branch in release_series:
|
||||||
ourseries = branch
|
ourseries = branch
|
||||||
if branch in bitbake_mapping:
|
if branch in bitbake_mapping:
|
||||||
|
|||||||
@@ -149,11 +149,9 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b
|
|||||||
var docroot = get_docroot_url()
|
var docroot = get_docroot_url()
|
||||||
|
|
||||||
var new_versionpath = selected_version + '/';
|
var new_versionpath = selected_version + '/';
|
||||||
if (selected_version == "dev")
|
|
||||||
new_versionpath = '';
|
|
||||||
|
|
||||||
// dev versions have no version prefix
|
// latest tag is also the default page (without version information)
|
||||||
if (current_version == "dev") {
|
if (docroot.endsWith(current_version + '/') == false) {
|
||||||
var new_url = docroot + new_versionpath + url.replace(docroot, "");
|
var new_url = docroot + new_versionpath + url.replace(docroot, "");
|
||||||
var fallback_url = docroot + new_versionpath;
|
var fallback_url = docroot + new_versionpath;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user