Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RTD build #51

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ version: 2
build:
os: ubuntu-22.04
commands:
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 7d2baf1cf37b13e2069d6956105bd0e739499bdb && curl -sSL https://get.rvm.io | bash -s stable
- ~/.rvm/bin/rvm autolibs disable && ~/.rvm/bin/rvm install ruby 3.1.2
- PATH="$HOME/.rvm/rubies/ruby-3.1.2/bin:$PATH" gem install bundler
- PATH="$HOME/.rvm/rubies/ruby-3.1.2/bin:$PATH" bundle install
- PATH="$HOME/.rvm/rubies/ruby-3.1.2/bin:$PATH" bundle exec jekyll build --destination _readthedocs/html --baseurl $(echo -n "$READTHEDOCS_CANONICAL_URL" | cut -d '/' -f 4-)
- asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
- asdf install ruby 3.1.2
- asdf global ruby 3.1.2
- gem install bundler
- bundle install
- >
bundle exec jekyll build --destination _readthedocs/html --baseurl $(echo
-n "$READTHEDOCS_CANONICAL_URL" | cut -d '/' -f 4-)
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ gem "webrick", "~> 1.7"
gem "jekyll-remote-theme", "~> 0.4.3"

gem 'jekyll-redirect-from'

gem 'jekyll-include-cache'
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ GEM
terminal-table (~> 2.0)
jekyll-feed (0.16.0)
jekyll (>= 3.7, < 5.0)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.3)
Expand Down Expand Up @@ -83,6 +85,7 @@ DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.2.2)
jekyll-feed (~> 0.12)
jekyll-include-cache
jekyll-redirect-from
jekyll-remote-theme (~> 0.4.3)
just-the-docs
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ plugins:
- jekyll-feed
- jekyll-remote-theme
- jekyll-redirect-from
- jekyll-include-cache

# Exclude from processing.
# The following items will not be processed, by default.
Expand Down