From 4b8010810aff8a1a1e3ffe3f6095f1aed8569240 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Wed, 20 Apr 2022 17:04:42 +0200 Subject: [PATCH] docs: sphinx-static: switchers.js.in: rename all_versions to switcher_versions This array only contains versions that can be selected through the dropdown menu for switching between supported versions. Therefore, let's rename it to switcher_versions to make its usecase clearer. Cc: Quentin Schulz (From yocto-docs rev: 5c3d67751bf3f572a0788d3a4734b80e3453d084) Signed-off-by: Quentin Schulz Signed-off-by: Richard Purdie --- documentation/sphinx-static/switchers.js.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/sphinx-static/switchers.js.in b/documentation/sphinx-static/switchers.js.in index 4966b3033d..7eb0c2ff34 100644 --- a/documentation/sphinx-static/switchers.js.in +++ b/documentation/sphinx-static/switchers.js.in @@ -9,7 +9,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b (function() { 'use strict'; - var all_versions = { + var switcher_versions = { VERSIONS_PLACEHOLDER }; @@ -65,7 +65,7 @@ by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-b function build_version_select(current_series, current_version) { var buf = ['