mirror of
https://github.com/go-acme/lego.git
synced 2025-01-27 15:27:17 +02:00
doc: retrieve hugo-theme-learn as hugo module (#1994)
This commit is contained in:
parent
6792701dbc
commit
406dad30fe
@ -6,15 +6,9 @@ clean:
|
|||||||
rm -rf public/
|
rm -rf public/
|
||||||
|
|
||||||
|
|
||||||
hugo-build: clean hugo-themes
|
hugo-build: clean
|
||||||
hugo --enableGitInfo --source .
|
hugo --enableGitInfo --source .
|
||||||
|
|
||||||
hugo:
|
hugo:
|
||||||
hugo server --disableFastRender --enableGitInfo --watch --source .
|
hugo server --disableFastRender --enableGitInfo --watch --source .
|
||||||
# hugo server -D
|
# 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"
|
languageCode = "en-us"
|
||||||
title = "Lego"
|
title = "Lego"
|
||||||
|
|
||||||
theme = "hugo-theme-learn"
|
|
||||||
|
|
||||||
# Code highlighting settings
|
# Code highlighting settings
|
||||||
pygmentsCodefences = true
|
pygmentsCodefences = true
|
||||||
pygmentsCodeFencesGuesSsyntax = false
|
pygmentsCodeFencesGuesSsyntax = false
|
||||||
@ -72,3 +70,7 @@ pygmentsUseClasses = true
|
|||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = [ "HTML", "RSS", "JSON"]
|
home = [ "HTML", "RSS", "JSON"]
|
||||||
|
|
||||||
|
[module]
|
||||||
|
[[module.imports]]
|
||||||
|
path = "github.com/matcornic/hugo-theme-learn"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user