mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
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.
(cherry picked from commit 4d19e1ab85
)
This commit is contained in:
parent
94dbcbcd5a
commit
702461cf43
2 changed files with 4 additions and 3 deletions
|
@ -44,8 +44,9 @@ remote_theme: rundocs/jekyll-rtd-theme@v2.0.9
|
|||
version: v0.8
|
||||
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: v0.8.2
|
||||
|
||||
# Container image which to point to in the documentation
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<i class="fa fa-home"></i> {{ site.title }}
|
||||
</a>
|
||||
</div>
|
||||
<span class="version">{{ site.version }}</span>
|
||||
<span class="version">{{ site.release }}</span>
|
||||
<form class="search pt-2" action="{{ site.baseurl }}/search.html" method="get" autocomplete="off">
|
||||
<input class="form-control input-block input-sm" type="text" name="q" placeholder="{{ __.search_docs | default: 'Search docs...' }}">
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue