Skip to content

Commit 4eafd11

Browse files
author
leonardo
committed
Switch to Hugo + Relearn theme
Replaces Jekyll/Just-the-Docs with Hugo + the McShelby Relearn theme, loaded as a Hugo module. Custom kontango-dark CSS variant matches the marketing site palette (#0a0a0f bg, #4a9eff accent, #fafafa text). Content moved to Hugo's content/ layout, frontmatter converted to TOML. Workflow now installs Hugo and builds with the configured baseURL.
1 parent b680700 commit 4eafd11

17 files changed

Lines changed: 246 additions & 183 deletions

‎.github/workflows/pages.yml‎

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,40 @@ concurrency:
1414
group: "pages"
1515
cancel-in-progress: false
1616

17+
env:
18+
HUGO_VERSION: 0.140.2
19+
1720
jobs:
1821
build:
1922
runs-on: ubuntu-latest
2023
steps:
21-
- uses: actions/checkout@v4
24+
- name: Install Hugo
25+
run: |
26+
wget -q "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb"
27+
sudo dpkg -i "hugo_extended_${HUGO_VERSION}_linux-amd64.deb"
2228
23-
- uses: ruby/setup-ruby@v1
29+
- uses: actions/checkout@v4
2430
with:
25-
ruby-version: '3.2'
26-
bundler-cache: true
31+
submodules: recursive
32+
fetch-depth: 0
2733

2834
- id: pages
2935
uses: actions/configure-pages@v5
3036

31-
- name: Build with Jekyll
32-
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
37+
- name: Install Hugo modules
38+
run: hugo mod get -u
39+
40+
- name: Build
3341
env:
34-
JEKYLL_ENV: production
42+
HUGO_ENVIRONMENT: production
43+
run: |
44+
hugo \
45+
--minify \
46+
--baseURL "${{ steps.pages.outputs.base_url }}/"
3547
3648
- uses: actions/upload-pages-artifact@v3
49+
with:
50+
path: ./public
3751

3852
deploy:
3953
needs: build

‎Gemfile‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎_config.yml‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎concepts/when-things-break.md‎

Lines changed: 0 additions & 94 deletions
This file was deleted.
File renamed without changes.
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
---
2-
title: Concepts
3-
nav_order: 2
4-
has_children: true
5-
has_toc: false
6-
---
1+
+++
2+
title = "Concepts"
3+
weight = 2
4+
+++
75

86
# Core Concepts
97

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
---
2-
title: "Enrolling a Device"
3-
parent: Concepts
4-
nav_order: 3
5-
---
1+
+++
2+
title = "Enrolling a Device"
3+
weight = 3
4+
+++
65

76
# Enrolling a Device
87

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
---
2-
title: "Getting Help"
3-
parent: Concepts
4-
nav_order: 8
5-
---
1+
+++
2+
title = "Getting Help"
3+
weight = 8
4+
+++
65

76
# Getting Help
87

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
---
2-
title: "Identities"
3-
parent: Concepts
4-
nav_order: 4
5-
---
1+
+++
2+
title = "Identities"
3+
weight = 4
4+
+++
65

76
# Identities
87

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
---
2-
title: "Policy"
3-
parent: Concepts
4-
nav_order: 6
5-
---
1+
+++
2+
title = "Policy"
3+
weight = 6
4+
+++
65

76
# Policy
87

0 commit comments

Comments
 (0)