forked from TrueCloudLab/lego
doc: retrieve hugo-theme-learn as hugo module (#1994)
This commit is contained in:
parent
6792701dbc
commit
406dad30fe
4 changed files with 12 additions and 9 deletions
|
@ -6,15 +6,9 @@ clean:
|
|||
rm -rf public/
|
||||
|
||||
|
||||
hugo-build: clean hugo-themes
|
||||
hugo-build: clean
|
||||
hugo --enableGitInfo --source .
|
||||
|
||||
hugo:
|
||||
hugo server --disableFastRender --enableGitInfo --watch --source .
|
||||
# hugo server -D
|
||||
|
||||
hugo-themes:
|
||||
rm -rf themes
|
||||
mkdir themes
|
||||
git clone --depth=1 https://github.com/matcornic/hugo-theme-learn.git themes/hugo-theme-learn
|
||||
rm -rf themes/hugo-theme-learn/.git
|
||||
|
|
5
docs/go.mod
Normal file
5
docs/go.mod
Normal file
|
@ -0,0 +1,5 @@
|
|||
module github.com/go-acme/lego/docs
|
||||
|
||||
go 1.20
|
||||
|
||||
require github.com/matcornic/hugo-theme-learn v0.0.0-20211028190410-e817f53d690d // indirect
|
2
docs/go.sum
Normal file
2
docs/go.sum
Normal file
|
@ -0,0 +1,2 @@
|
|||
github.com/matcornic/hugo-theme-learn v0.0.0-20211028190410-e817f53d690d h1:p7ktiW/GnHccjB9oO5YGY7us5v/oHmkyF0C7EDZFM3s=
|
||||
github.com/matcornic/hugo-theme-learn v0.0.0-20211028190410-e817f53d690d/go.mod h1:YoToDcvQxmAFhpEuapKUysBDEBckqDEssqTrmeZ2+uY=
|
|
@ -2,8 +2,6 @@ baseURL = "https://go-acme.github.io/lego/"
|
|||
languageCode = "en-us"
|
||||
title = "Lego"
|
||||
|
||||
theme = "hugo-theme-learn"
|
||||
|
||||
# Code highlighting settings
|
||||
pygmentsCodefences = true
|
||||
pygmentsCodeFencesGuesSsyntax = false
|
||||
|
@ -72,3 +70,7 @@ pygmentsUseClasses = true
|
|||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON"]
|
||||
|
||||
[module]
|
||||
[[module.imports]]
|
||||
path = "github.com/matcornic/hugo-theme-learn"
|
||||
|
|
Loading…
Reference in a new issue