mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 00:38:08 +08:00
ci: use submodule as theme location
This commit is contained in:
2
.github/workflows/document.yml
vendored
2
.github/workflows/document.yml
vendored
@@ -21,8 +21,6 @@ jobs:
|
||||
- name: Build Webpage
|
||||
working-directory: ./docs/
|
||||
run: |
|
||||
hugo mod init github.com/alex-shpak/hugo-book
|
||||
hugo mod get -u
|
||||
hugo --minify
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
@@ -1,13 +1,9 @@
|
||||
baseURL = "https://toruniina.github.io/toml11"
|
||||
title = "toml11"
|
||||
languageCode = "en-us"
|
||||
|
||||
theme = "hugo-book"
|
||||
disablePathToLower = true
|
||||
|
||||
[module]
|
||||
[[module.imports]]
|
||||
path = 'github.com/alex-shpak/hugo-book'
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
weight = 1
|
||||
|
Reference in New Issue
Block a user