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: pin version of jekyll-rtd-theme

Sync our customizations under _includes/ with v2.0.9 of
jekyll-rtd-theme. Also, pin the theme version in order to avoid abrupt
build failures in the future (caused by our customization becoming
incompatible with the rolling latest version).

Also, drop jekyll-rtd-theme from the Gemfile. It's useless there as it's
being mandated by remote-theme setting in _config.yml.
This commit is contained in:
Markus Lehtonen 2020-10-22 20:34:14 +03:00
parent ad0db00a50
commit 194f42f5c9
4 changed files with 2 additions and 7 deletions

View file

@ -27,5 +27,3 @@ gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
# kramdown v2 ships without the gfm parser by default. If you're using
# kramdown v1, comment out this line.
#gem "kramdown-parser-gfm"
gem "jekyll-rtd-theme", "~> 2.0.6"

View file

@ -137,8 +137,6 @@ GEM
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
rubyzip (>= 1.3.0)
jekyll-rtd-theme (2.0.7)
github-pages (~> 207)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
@ -259,7 +257,6 @@ PLATFORMS
DEPENDENCIES
github-pages (~> 207)
jekyll (~> 3.9.0)
jekyll-rtd-theme (~> 2.0.6)
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)

View file

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

View file

@ -36,7 +36,7 @@
</div>
</div>
<div class="addons d-flex flex-column height-full p-2 d-none">
{%- assign items = "github, analytics" | split: ", " -%}
{%- assign items = "github" | split: ", " -%}
{% for item in items -%}
{% include addons/{{ item }}.liquid %}
{% endfor -%}