Skip to content

Commit 8e105c7

Browse files
authored
Merge pull request #2204 from marquiz/devel/docs-theme-rtd
docs: switch to jekyll-theme-read-the-docs
2 parents 4f110ec + 4faf4df commit 8e105c7

File tree

5 files changed

+4
-14
lines changed

5 files changed

+4
-14
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,11 @@ poll-images:
255255

256256
site-build:
257257
@mkdir -p docs/vendor/bundle
258-
$(SITE_BUILD_CMD) sh -c "bundle plugin install bundler-override && bundle install && jekyll build $(JEKYLL_OPTS)"
258+
$(SITE_BUILD_CMD) sh -c "bundle install && jekyll build $(JEKYLL_OPTS)"
259259

260260
site-serve:
261261
@mkdir -p docs/vendor/bundle
262-
$(SITE_BUILD_CMD) sh -c "bundle plugin install bundler-override && bundle install && jekyll serve $(JEKYLL_OPTS) -H 127.0.0.1"
262+
$(SITE_BUILD_CMD) sh -c "bundle install && jekyll serve $(JEKYLL_OPTS) -H 127.0.0.1"
263263

264264
benchmark:
265265
go test -bench=./pkg/nfd-master -run=^# ./pkg/nfd-master

docs/Gemfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
source "https://rubygems.org"
22

3-
# Use override plugin to drop incorrect dependency of jekyll-rtd-them on github-pages (~> 209)
4-
# The original dep would allow github-pages v209.x but not v210 or later.
5-
plugin 'bundler-override'
6-
require File.join(Bundler::Plugin.index.load_paths("bundler-override")[0], "bundler-override") rescue nil
7-
override 'jekyll-rtd-theme', :drop => "github-pages"
8-
93
# Hello! This is where you manage which Jekyll version is used to run.
104
# When you want to use a different version, change it below, save the
115
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
@@ -36,5 +30,3 @@ gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
3630
#gem "kramdown-parser-gfm"
3731

3832
gem "webrick", "~> 1.8"
39-
40-
gem 'jekyll-rtd-theme', '~> 2.0', '>= 2.0.10'

docs/Gemfile.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ GEM
168168
jekyll (>= 3.5, < 5.0)
169169
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
170170
rubyzip (>= 1.3.0, < 3.0)
171-
jekyll-rtd-theme (2.0.10)
172171
jekyll-sass-converter (1.5.2)
173172
sass (~> 3.4)
174173
jekyll-seo-tag (2.8.0)
@@ -290,7 +289,6 @@ DEPENDENCIES
290289
github-pages (~> 232)
291290
jekyll (~> 3.10.0)
292291
jekyll-github-metadata!
293-
jekyll-rtd-theme (~> 2.0, >= 2.0.10)
294292
tzinfo (~> 2.0)
295293
tzinfo-data
296294
wdm (~> 0.1.1)

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ markdown: kramdown
2626
kramdown:
2727
toc_levels: 1..3
2828

29-
theme: jekyll-rtd-theme
29+
remote_theme: jv-conseil/jekyll-theme-read-the-docs@ce7ed5ad2184b36244a50adbeea2f0a6ab1f8606
3030

3131
# Exclude from processing.
3232
# The following items will not be processed, by default. Create a custom list

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Netlify settings
22
[build]
3-
command = "cd docs/ && source /opt/buildhome/.rvm/scripts/rvm && rvm install ruby-3.3.8 && bundle plugin install bundler-override && bundle install && jekyll build"
3+
command = "cd docs/ && source /opt/buildhome/.rvm/scripts/rvm && rvm install ruby-3.3.9 && bundle install && jekyll build"
44
publish = "docs/_site/"
55

66
[build.environment]

0 commit comments

Comments
 (0)