From f48d3f81fefe0889bbed856f9b10d9ae6e5f87e5 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sun, 16 Jun 2024 20:03:45 +0900 Subject: [PATCH] ci: use submodule as theme location --- .github/workflows/document.yml | 2 -- docs/config.toml | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index 27c0b0e..a086361 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -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 diff --git a/docs/config.toml b/docs/config.toml index ee7bb04..87ac2b6 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -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