All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] documentation: sphinx-static: switchers.js: add release name in dropdown menu
@ 2021-01-11 12:09 Quentin Schulz
  2021-01-11 12:11 ` [docs] " Quentin Schulz
  0 siblings, 1 reply; 4+ messages in thread
From: Quentin Schulz @ 2021-01-11 12:09 UTC (permalink / raw)
  To: docs; +Cc: Quentin Schulz

Up until now, only the version of a Yocto release was printed, which
isn't very user-friendly.

Add the release name too so that it's obvious to users which release of
Yocto the currently open docs are applying to.

Signed-off-by: Quentin Schulz <foss@0leil.net>
---
 documentation/sphinx-static/switchers.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
index 754de2e6a..fd4dd607d 100644
--- a/documentation/sphinx-static/switchers.js
+++ b/documentation/sphinx-static/switchers.js
@@ -3,10 +3,10 @@
 
   var all_versions = {
     'dev': 'dev (3.3)',
-    '3.2.1': '3.2.1',
-    '3.1.4': '3.1.4',
-    '3.0.4': '3.0.4',
-    '2.7.4': '2.7.4',
+    '3.2.1': 'gatesgarth (3.2.1)',
+    '3.1.4': 'dunfell (3.1.4)',
+    '3.0.4': 'zeus (3.0.4)',
+    '2.7.4': 'warrior (2.7.4)',
   };
 
   var all_doctypes = {
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-12  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-11 12:09 [PATCH] documentation: sphinx-static: switchers.js: add release name in dropdown menu Quentin Schulz
2021-01-11 12:11 ` [docs] " Quentin Schulz
2021-01-11 17:07   ` Peter Kjellerstedt
2021-01-12  9:19     ` Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.