diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e73ea1b..b42dab8 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -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 diff --git a/Gemfile b/Gemfile index 38b2607..ae91c96 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/_config.yml b/_config.yml index 73301a8..5741957 100644 --- a/_config.yml +++ b/_config.yml @@ -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 @@ -25,3 +26,4 @@ plugins: - jekyll-avatar - jekyll-mentions - jekyll-tabs + - jekyll-remote-theme