Skip to content

Commit bb4ee05

Browse files
eprifticlaude
andcommitted
Fix GitHub Pages deployment and add dark theme logo
- Update jekyll.yml to use actions/deploy-pages for proper deployment - Switch Pages build_type to workflow (was serving old master branch) - Update Gemfile.lock with x86_64-linux platform for CI - Replace logo with dark variant (logo8) for dark theme landing page - Add .gitignore for Jekyll build artifacts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 61c9ccb commit bb4ee05

5 files changed

Lines changed: 95 additions & 43 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,48 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- main
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
1016

1117
jobs:
12-
build-and-deploy:
18+
build:
1319
runs-on: ubuntu-latest
14-
1520
steps:
16-
- name: Checkout Code
17-
uses: actions/checkout@v3
21+
- name: Checkout
22+
uses: actions/checkout@v4
1823

1924
- name: Setup Ruby
2025
uses: ruby/setup-ruby@v1
2126
with:
22-
ruby-version: '3.0.2' # Specify the Ruby version you need
27+
ruby-version: '3.2'
28+
bundler-cache: true
2329

24-
- name: Install Bundler
25-
run: |
26-
gem install bundler -v '~> 2.4'
27-
bundle -v
28-
29-
- name: Install Dependencies
30-
run: bundle install
30+
- name: Setup Pages
31+
id: pages
32+
uses: actions/configure-pages@v5
3133

3234
- name: Build Jekyll Site
33-
run: bundle exec jekyll build
35+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
36+
env:
37+
JEKYLL_ENV: production
38+
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
3441

35-
# Add additional steps as needed for deployment or other purposes
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_site/
2+
.jekyll-cache/
3+
.jekyll-metadata
4+
.DS_Store
5+
.sass-cache/
6+
vendor/

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
source "https://rubygems.org"
2+
23
gem "just-the-docs"
4+
gem "jekyll", "~> 4.3"

Gemfile.lock

Lines changed: 54 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,108 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.8.5)
5-
public_suffix (>= 2.0.2, < 6.0)
4+
addressable (2.8.8)
5+
public_suffix (>= 2.0.2, < 8.0)
6+
base64 (0.3.0)
7+
bigdecimal (4.0.1)
68
colorator (1.1.0)
7-
concurrent-ruby (1.2.2)
9+
concurrent-ruby (1.3.6)
10+
csv (3.3.5)
811
em-websocket (0.5.3)
912
eventmachine (>= 0.12.9)
1013
http_parser.rb (~> 0)
1114
eventmachine (1.2.7)
12-
ffi (1.16.3)
15+
ffi (1.17.3)
16+
ffi (1.17.3-arm64-darwin)
17+
ffi (1.17.3-x86_64-darwin)
1318
forwardable-extended (2.6.0)
14-
google-protobuf (3.25.0-arm64-darwin)
15-
http_parser.rb (0.8.0)
16-
i18n (1.14.1)
19+
google-protobuf (4.33.5)
20+
bigdecimal
21+
rake (>= 13)
22+
google-protobuf (4.33.5-arm64-darwin)
23+
bigdecimal
24+
rake (>= 13)
25+
google-protobuf (4.33.5-x86_64-darwin)
26+
bigdecimal
27+
rake (>= 13)
28+
http_parser.rb (0.8.1)
29+
i18n (1.14.8)
1730
concurrent-ruby (~> 1.0)
18-
jekyll (4.3.2)
31+
jekyll (4.4.1)
1932
addressable (~> 2.4)
33+
base64 (~> 0.2)
2034
colorator (~> 1.0)
35+
csv (~> 3.0)
2136
em-websocket (~> 0.5)
2237
i18n (~> 1.0)
2338
jekyll-sass-converter (>= 2.0, < 4.0)
2439
jekyll-watch (~> 2.0)
40+
json (~> 2.6)
2541
kramdown (~> 2.3, >= 2.3.1)
2642
kramdown-parser-gfm (~> 1.0)
2743
liquid (~> 4.0)
28-
mercenary (>= 0.3.6, < 0.5)
44+
mercenary (~> 0.3, >= 0.3.6)
2945
pathutil (~> 0.9)
3046
rouge (>= 3.0, < 5.0)
3147
safe_yaml (~> 1.0)
3248
terminal-table (>= 1.8, < 4.0)
3349
webrick (~> 1.7)
3450
jekyll-include-cache (0.2.1)
3551
jekyll (>= 3.7, < 5.0)
36-
jekyll-sass-converter (3.0.0)
37-
sass-embedded (~> 1.54)
52+
jekyll-sass-converter (3.1.0)
53+
sass-embedded (~> 1.75)
3854
jekyll-seo-tag (2.8.0)
3955
jekyll (>= 3.8, < 5.0)
4056
jekyll-watch (2.2.1)
4157
listen (~> 3.0)
42-
just-the-docs (0.7.0)
58+
json (2.18.1)
59+
just-the-docs (0.12.0)
4360
jekyll (>= 3.8.5)
4461
jekyll-include-cache
4562
jekyll-seo-tag (>= 2.0)
4663
rake (>= 12.3.1)
47-
kramdown (2.4.0)
48-
rexml
64+
kramdown (2.5.2)
65+
rexml (>= 3.4.4)
4966
kramdown-parser-gfm (1.1.0)
5067
kramdown (~> 2.0)
5168
liquid (4.0.4)
52-
listen (3.8.0)
69+
listen (3.10.0)
70+
logger
5371
rb-fsevent (~> 0.10, >= 0.10.3)
5472
rb-inotify (~> 0.9, >= 0.9.10)
73+
logger (1.7.0)
5574
mercenary (0.4.0)
5675
pathutil (0.16.2)
5776
forwardable-extended (~> 2.6)
58-
public_suffix (5.0.3)
59-
rake (13.1.0)
77+
public_suffix (6.0.2)
78+
rake (13.3.1)
6079
rb-fsevent (0.11.2)
61-
rb-inotify (0.10.1)
80+
rb-inotify (0.11.1)
6281
ffi (~> 1.0)
63-
rexml (3.2.6)
64-
rouge (4.2.0)
82+
rexml (3.4.4)
83+
rouge (4.7.0)
6584
safe_yaml (1.0.5)
66-
sass-embedded (1.69.5-arm64-darwin)
67-
google-protobuf (~> 3.23)
85+
sass-embedded (1.97.3)
86+
google-protobuf (~> 4.31)
87+
rake (>= 13)
88+
sass-embedded (1.97.3-arm64-darwin)
89+
google-protobuf (~> 4.31)
90+
sass-embedded (1.97.3-x86_64-darwin)
91+
google-protobuf (~> 4.31)
6892
terminal-table (3.0.2)
6993
unicode-display_width (>= 1.1.1, < 3)
70-
unicode-display_width (2.5.0)
71-
webrick (1.8.1)
94+
unicode-display_width (2.6.0)
95+
webrick (1.9.2)
7296

7397
PLATFORMS
74-
arm64-darwin-23
98+
arm64-darwin
99+
ruby
100+
x86_64-darwin
101+
x86_64-linux
75102

76103
DEPENDENCIES
104+
jekyll (~> 4.3)
77105
just-the-docs
78106

79107
BUNDLED WITH
80-
2.4.21
108+
2.5.10

docs/logo.png

37.4 KB
Loading

0 commit comments

Comments
 (0)