Skip to content

Commit

Permalink
Merge pull request #51 from MSanKeys963/fix_rtd_build
Browse files Browse the repository at this point in the history
Fix RTD build
  • Loading branch information
MSanKeys963 authored Oct 25, 2023
2 parents 990063f + 17e0f71 commit 6d7cbfc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
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

0 comments on commit 6d7cbfc

Please sign in to comment.