1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/docs/_includes/class/sidebar-wrap.liquid
Markus Lehtonen ab9f61f8ea 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)
2021-05-19 11:23:54 +03:00

18 lines
980 B
Text

<div class="sidebar-wrap overflow-hidden">
<div class="sidebar height-full overflow-y-scroll overflow-x-hidden">
<div class="header d-flex flex-column p-3 text-center">
<div class="title pb-1">
<a class="h4 no-underline py-1 px-2 rounded-1" href="{{ site.baseurl }}/" title="{{ site.description }}">
<i class="fa fa-home"></i> {{ site.title }}
</a>
</div>
<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>
</div>
<div class="toctree py-2" data-spy="affix" role="navigation" aria-label="main navigation">
{% include class/_toctree.liquid %}
</div>
</div>
</div>