Skip to content

Commit

Permalink
Specify remote theme for GH Pages build process
Browse files Browse the repository at this point in the history
In order for this to work locally we must include the
jekyll-remote-theme gem as part of a specially named dependency group
that is loaded when jekyll starts.

Authored-by: Owen Nelson <[email protected]>
  • Loading branch information
tw-owen-nelson committed Feb 7, 2024
1 parent 2eb815c commit a02d361
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
11 changes: 7 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
source 'https://rubygems.org'

gem "github-pages", "~> 228", group: :jekyll_plugin
gem "just-the-docs", "~> 0.7.0"
gem "jekyll-seo-tag", "~> 2.8.0"
gem 'kramdown-parser-gfm', "~> 1.1.0"
gem 'kramdown-parser-gfm', "1.1.0"

group :jekyll_plugins do
gem "github-pages", "228"
gem "jekyll-seo-tag", "2.8.0"
gem "jekyll-remote-theme", "0.4.3"
end
14 changes: 4 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
just-the-docs (0.7.0)
jekyll (>= 3.8.5)
jekyll-include-cache
jekyll-seo-tag (>= 2.0)
rake (>= 12.3.1)
kramdown (2.3.2)
rexml
kramdown-parser-gfm (1.1.0)
Expand All @@ -238,7 +233,6 @@ GEM
forwardable-extended (~> 2.6)
public_suffix (4.0.7)
racc (1.7.3)
rake (13.1.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand Down Expand Up @@ -272,10 +266,10 @@ PLATFORMS
ruby

DEPENDENCIES
github-pages (~> 228)
jekyll-seo-tag (~> 2.8.0)
just-the-docs (~> 0.7.0)
kramdown-parser-gfm (~> 1.1.0)
github-pages (= 228)
jekyll-remote-theme (= 0.4.3)
jekyll-seo-tag (= 2.8.0)
kramdown-parser-gfm (= 1.1.0)

BUNDLED WITH
2.1.4
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exclude:
# Build settings
markdown: kramdown

theme: just-the-docs
remote_theme: just-the-docs/just-the-docs

# Color scheme supports "light" (default) and "dark"
color_scheme: dark
Expand Down

0 comments on commit a02d361

Please sign in to comment.