Skip to content

Commit

Permalink
Migrate website from docbook to Hugo Hextra theme
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 23, 2024
1 parent 1b461f6 commit e31640c
Show file tree
Hide file tree
Showing 42 changed files with 202 additions and 303 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,17 @@ jobs:
- name: Install Python build dependencies
run: python -m pip install jmespath

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
- name: Install Hugo
uses: peaceiris/actions-hugo@v3
with:
mdbook-version: 'latest'
hugo-version: '0.111.3'
# extended: true

- name: Generate reference documentation
run: cd docs && just refdoc
run: cd website && just refdoc

- name: Build mdBook
run: cd docs && just build
- name: Build site
run: cd website && just build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "website/themes/hextra"]
path = website/themes/hextra
url = https://github.com/pka/hextra
branch = backport-debian
14 changes: 0 additions & 14 deletions docs/book.toml

This file was deleted.

34 changes: 0 additions & 34 deletions docs/src/SUMMARY.md

This file was deleted.

244 changes: 0 additions & 244 deletions docs/theme/css/general.css

This file was deleted.

File renamed without changes.
Loading

0 comments on commit e31640c

Please sign in to comment.