Skip to content

Commit

Permalink
Reverting to old build technique and alternative theme source
Browse files Browse the repository at this point in the history
  • Loading branch information
hilary-luo committed Aug 9, 2024
1 parent 21f259e commit cae10c4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Setup Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: '3.2' # Not needed with a .ruby-version file
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# cache-version: 1 # Increment this number if you need to re-download cached gems
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 2 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
uses: actions/jekyll-build-pages@v1
with:
verbose: true
# source: ./
# destination: ./_site
# run: bundle exec jekyll build --baseurl "/turtlebot4-user-manual"
# env:
# JEKYLL_ENV: production
# uses: actions/jekyll-build-pages@v1
# with:
# verbose: true
# # source: ./
# # destination: ./_site
run: bundle exec jekyll build --baseurl "/turtlebot4-user-manual"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem "jekyll-rtd-theme", "~> 2.0.10"
#gem "jekyll-rtd-theme", "~> 2.0.10"

group :jekyll_plugins do
gem "github-pages"
Expand Down
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ url: https://turtlebot.github.io
baseurl: /turtlebot4-user-manual

#remote_theme: rundocs/jekyll-rtd-theme
remote_theme: carlosperate/jekyll-theme-rtd

readme_index:
with_frontmatter: true
Expand All @@ -25,3 +26,4 @@ plugins:
- jekyll-avatar
- jekyll-mentions
- jekyll-tabs
- jekyll-remote-theme

0 comments on commit cae10c4

Please sign in to comment.