Skip to content

Commit

Permalink
Merge pull request #119 from aliceinwire/hugo_docs
Browse files Browse the repository at this point in the history
Update hugo website
  • Loading branch information
aliceinwire authored Feb 20, 2025
2 parents e62d3fb + 09cbc5c commit a0d7fcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.137.1
HUGO_VERSION: 0.144.2
steps:
- name: Install Hugo CLI
run: |
Expand Down Expand Up @@ -50,13 +50,12 @@ jobs:
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
run: |
git clone --depth 1 --branch v0.11.0 https://github.com/google/docsy.git themes/docsy
sed -i 's/fixed/relative/g' themes/docsy/assets/scss/_nav.scss
git clone --recursive --depth 1 --branch master https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
git clone --depth 1 --branch 6.7.0 https://github.com/FortAwesome/Font-Awesome.git themes/github.com/FortAwesome/Font-Awesome
git clone --depth 1 --branch v5.3.3 https://github.com/twbs/bootstrap.git themes/github.com/twbs/bootstrap
hugo \
--gc \
--theme docsy \
--theme PaperMod \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
Expand Down
6 changes: 3 additions & 3 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL = 'https://kernelci.github.io/kci-dev/'
baseURL = 'https://kci.dev/'
languageCode = 'en-us'
title = 'kci-dev'
description = 'Stand alone tool for Linux Kernel developers and maintainers to interact with KernelCI'
Expand All @@ -7,14 +7,14 @@ contentDir = "docs/"
pygmentsCodeFences = true
pygmentsUseClasses = false
pygmentsUseClassic = false
pygmentsStyle = "tango"
pygmentsStyle = "monokai"

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
style = "tango"
style = "monokai"

[params.ui]
sidebar_search_disable = true
Expand Down

0 comments on commit a0d7fcf

Please sign in to comment.