mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
ab9f61f8ea
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
)
18 lines
980 B
Text
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>
|