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

docs: update jekyll-rdt-theme to v2.0.10

Update jekyll-rdt-theme to the latest released version. Also sync site
customization (docs/_includes) with that.
This commit is contained in:
Markus Lehtonen 2021-10-11 10:34:58 +03:00
parent 06e7a784f3
commit f8bacd9097
3 changed files with 25 additions and 8 deletions

View file

@ -26,7 +26,7 @@ markdown: kramdown
kramdown:
toc_levels: 1..3
remote_theme: rundocs/jekyll-rtd-theme@v2.0.9
remote_theme: rundocs/jekyll-rtd-theme@v2.0.10
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list

View file

@ -43,14 +43,31 @@
{% endif %}
</dl>
{% endif %}
{%- assign items = "github" | split: ", " -%}
{% for item in items -%}
{% include addons/{{ item }}.liquid %}
{% endfor -%}
<dl>
<dt>{{ __.github | default: "GitHub" }}</dt>
<dd>
<a href="{{ docs.repository_url }}" title="{{ __.stars | default: 'Stars' }}: {{ rest.stargazers_count }}">
<i class="fa fa-github"></i>
{{ __.homepage | default: "Homepage" }}
</a>
</dd>
<dd>
<a href="{{ docs.issues_url }}" title="{{ __.open_issues | default: 'Open issues' }}: {{ rest.open_issues }}">
<i class="fa fa-question-circle-o"></i>
{{ __.issues | default: "Issues" }}
</a>
</dd>
<dd>
<a href="{{ docs.zip_url }}" title="{{ __.size | default: 'Size' }}: {{ rest.size }} Kb">
<i class="fa fa-download"></i>
{{ __.download | default: "Download" }}
</a>
</dd>
</dl>
<hr>
<div class="license f6 pb-2">
The
<a href="{{ site.baseurl }}/">software</a>
This
<a href="{{ site.baseurl }}/" title="{{ site.title }}">Software</a>
is under the terms of
<a href="{{ docs.repository_url }}">{{ docs.license.name | default: "The Unlicense" }}</a>.
</div>

View file

@ -12,7 +12,7 @@
</form>
</div>
<div class="toctree py-2" data-spy="affix" role="navigation" aria-label="main navigation">
{% include class/_toctree.liquid %}
{% include templates/toctree.liquid %}
</div>
</div>
</div>