From 4d19e1ab85b6cf4c6a2f6e556bf04654e4fb238e Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 19 May 2021 10:37:12 +0300 Subject: [PATCH] docs: show full version number in sidebar Change the sidebar customization so that the full version (e.g. v0.8.2) is displayed, instead of the truncated "releae branch version" (e.g. v0.8) in the top left corner of the page. The items in the version menu are unchanged and will still show the shorter form. --- docs/_config.yml | 5 +++-- docs/_includes/class/sidebar-wrap.liquid | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 31882c376..ae6531cf6 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -44,8 +44,9 @@ remote_theme: rundocs/jekyll-rtd-theme@v2.0.9 version: master display_version_list: true -# Release is used to make external links to point to the correct blobs in the -# Github repo +# Release is the full released version number. Used to make external links to +# point to the correct blobs in the Github repo. This is also the version shown +# in the sidebar (top left corner of the page) release: master # Container image which to point to in the documentation diff --git a/docs/_includes/class/sidebar-wrap.liquid b/docs/_includes/class/sidebar-wrap.liquid index d06237480..998d553c4 100644 --- a/docs/_includes/class/sidebar-wrap.liquid +++ b/docs/_includes/class/sidebar-wrap.liquid @@ -6,7 +6,7 @@ {{ site.title }} - {{ site.version }} + {{ site.release }}