1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #532 from marquiz/documentation/template

docs: show full version number in sidebar
This commit is contained in:
Kubernetes Prow Robot 2021-05-19 01:14:51 -07:00 committed by GitHub
commit aa2cbad3a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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>