Skip to content

Commit 09e1706

Browse files
committed
Migrate to Hugo modules
1 parent 5b0578a commit 09e1706

File tree

7 files changed

+41
-15
lines changed

7 files changed

+41
-15
lines changed

.gitmodules

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
[submodule "themes/docsy"]
2-
path = themes/docsy
3-
url = https://github.com/google/docsy.git
4-
[submodule "themes/docsy-plus"]
5-
path = themes/docsy-plus
6-
url = https://github.com/acend/docsy-plus.git
7-
branch = main
8-
[submodule "themes/docsy-puzzle"]
9-
path = themes/docsy-puzzle
10-
url = https://github.com/puzzle/docsy-puzzle.git

config/_default/config.toml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title = "AMM Techlab"
33

44
enableGitInfo = true
55

6-
theme = ["docsy-puzzle", "docsy-plus", "docsy"]
7-
86
languageCode = "en-us"
97

108
contentDir = "content/en"
@@ -113,3 +111,21 @@ url = "https://twitter.com/puzzleitc"
113111
name = "LinkedIn"
114112
icon = "fab fa-linkedin-in"
115113
url = "https://linkedin.com/company/puzzle-itc"
114+
115+
# puzzle design
116+
[module]
117+
[module.hugoVersion]
118+
extended = true
119+
min = "0.100.0"
120+
[[module.imports]]
121+
path = "github.com/puzzle/docsy-puzzle"
122+
disable = false
123+
[[module.imports]]
124+
path = "github.com/acend/docsy-plus"
125+
disable = false
126+
[[module.imports]]
127+
path = "github.com/google/docsy"
128+
disable = false
129+
[[module.imports]]
130+
path = "github.com/google/docsy/dependencies"
131+
disable = false

go.mod

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module github.com/puzzle/amm-techlab
2+
3+
go 1.18
4+
5+
require (
6+
github.com/acend/docsy-acend v0.0.0-20220406070448-8027986336dc // indirect
7+
github.com/acend/docsy-plus v0.0.0-20220428195954-da462686a1f4 // indirect
8+
github.com/google/docsy v0.4.0 // indirect
9+
github.com/google/docsy/dependencies v0.4.0 // indirect
10+
github.com/puzzle/docsy-puzzle v0.0.0-20220406081603-2cd9f7c8d79a // indirect
11+
)

go.sum

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
github.com/FortAwesome/Font-Awesome v0.0.0-20210804190922-7d3d774145ac/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2+
github.com/acend/docsy-acend v0.0.0-20220406070448-8027986336dc h1:kNDPVcZCXsbJxqDstPoesa9YqWx84BVowj9cgxG6dnE=
3+
github.com/acend/docsy-acend v0.0.0-20220406070448-8027986336dc/go.mod h1:92hTJB3aPssEooTK+gv0i84vwTjah30HKaLGdupJaPA=
4+
github.com/acend/docsy-plus v0.0.0-20220428195954-da462686a1f4 h1:NH8RTlmPMcTPxfZYlqYWWcqoQ5STebCQikKByJVRnAA=
5+
github.com/acend/docsy-plus v0.0.0-20220428195954-da462686a1f4/go.mod h1:FUTTPmi3S92rVMbCYqXdGNxixdyqACBrFTK7dOuMttQ=
6+
github.com/google/docsy v0.4.0 h1:Eyt2aiDC1fnw/Qq/9xnIqUU5n5Yyk4c8gX3nBDdTv/4=
7+
github.com/google/docsy v0.4.0/go.mod h1:vJjGkHNaw9bO42gpFTWwAUzHZWZEVlK46Kx7ikY5c7Y=
8+
github.com/google/docsy/dependencies v0.4.0 h1:FXwyjtuFfPIPBauU2t7uIAgS6VYfJf+OD5pzxGvkQsQ=
9+
github.com/google/docsy/dependencies v0.4.0/go.mod h1:2zZxHF+2qvkyXhLZtsbnqMotxMukJXLaf8fAZER48oo=
10+
github.com/puzzle/docsy-puzzle v0.0.0-20220406081603-2cd9f7c8d79a h1:ivuXhwliGTmfp4Zn9dqHiIHPUbniLhsbSYKrsQIoFKM=
11+
github.com/puzzle/docsy-puzzle v0.0.0-20220406081603-2cd9f7c8d79a/go.mod h1:FHtQEgHYfsiO5d1XXaF/mD5C51PQw1kea8JwTGBs93o=
12+
github.com/twbs/bootstrap v4.6.1+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

themes/docsy

Lines changed: 0 additions & 1 deletion
This file was deleted.

themes/docsy-plus

Lines changed: 0 additions & 1 deletion
This file was deleted.

themes/docsy-puzzle

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)