Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 5 additions & 0 deletions docs/go.mod
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions docs/go.sum
Original file line number Diff line number Diff line change
@@ -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=
6 changes: 4 additions & 2 deletions docs/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,3 +70,7 @@ pygmentsUseClasses = true

[outputs]
home = [ "HTML", "RSS", "JSON"]

[module]
[[module.imports]]
path = "github.com/matcornic/hugo-theme-learn"