Skip to content

Commit

Permalink
Move to Hugo modules
Browse files Browse the repository at this point in the history
  • Loading branch information
christofluethi committed Oct 4, 2023
1 parent 1f89e31 commit b6c74f7
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 16 deletions.
10 changes: 0 additions & 10 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,3 @@
path = code/quarkus-techlab-infrastructure
url = [email protected]:g1raffi/quarkus-techlab-infrastructure.git
branch = master
[submodule "themes/docsy"]
path = themes/docsy
url = https://github.com/google/docsy.git
[submodule "themes/docsy-plus"]
path = themes/docsy-plus
url = https://github.com/acend/docsy-plus.git
branch = main
[submodule "themes/docsy-puzzle"]
path = themes/docsy-puzzle
url = https://github.com/puzzle/docsy-puzzle.git
22 changes: 21 additions & 1 deletion config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title = "Quarkus Basics Training"

enableGitInfo = true

theme = ["docsy-puzzle", "docsy-plus", "docsy"]




languageCode = "en-us"

Expand Down Expand Up @@ -101,6 +103,24 @@ navbar_logo = true
# Set to true to disable the About link in the site footer
footer_about_disable = true

# puzzle design
[module]
[module.hugoVersion]
extended = true
min = "0.100.0"
[[module.imports]]
path = "github.com/puzzle/docsy-puzzle"
disable = false
[[module.imports]]
path = "github.com/acend/docsy-plus"
disable = false
[[module.imports]]
path = "github.com/google/docsy"
disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false

############################## social links ##############################
[params.links]
[[params.links.developer]]
Expand Down
21 changes: 19 additions & 2 deletions config/mobi/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
theme = ["docsy-puzzle", "docsy-plus", "docsy"]
title = "Quarkus Training"
languageCode = "en-us"

Expand All @@ -16,4 +15,22 @@ title = "Quarkus Training"
weight = 3
name = "Puzzle ITC GmbH"
copyright = "Puzzle ITC GmbH"
url = "https://www.puzzle.ch"
url = "https://www.puzzle.ch"

# puzzle design
[module]
[module.hugoVersion]
extended = true
min = "0.100.0"
[[module.imports]]
path = "github.com/puzzle/docsy-puzzle"
disable = false
[[module.imports]]
path = "github.com/acend/docsy-plus"
disable = false
[[module.imports]]
path = "github.com/google/docsy"
disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false
11 changes: 11 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module github.com/puzzle/amm-techlab

go 1.18

require (
github.com/acend/docsy-acend v0.0.0-20220406070448-8027986336dc // indirect
github.com/acend/docsy-plus v0.0.0-20220428195954-da462686a1f4 // indirect
github.com/google/docsy v0.4.0 // indirect
github.com/google/docsy/dependencies v0.4.0 // indirect
github.com/puzzle/docsy-puzzle v0.0.0-20220406081603-2cd9f7c8d79a // indirect
)
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20210804190922-7d3d774145ac/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/acend/docsy-acend v0.0.0-20220406070448-8027986336dc h1:kNDPVcZCXsbJxqDstPoesa9YqWx84BVowj9cgxG6dnE=
github.com/acend/docsy-acend v0.0.0-20220406070448-8027986336dc/go.mod h1:92hTJB3aPssEooTK+gv0i84vwTjah30HKaLGdupJaPA=
github.com/acend/docsy-plus v0.0.0-20220428195954-da462686a1f4 h1:NH8RTlmPMcTPxfZYlqYWWcqoQ5STebCQikKByJVRnAA=
github.com/acend/docsy-plus v0.0.0-20220428195954-da462686a1f4/go.mod h1:FUTTPmi3S92rVMbCYqXdGNxixdyqACBrFTK7dOuMttQ=
github.com/google/docsy v0.4.0 h1:Eyt2aiDC1fnw/Qq/9xnIqUU5n5Yyk4c8gX3nBDdTv/4=
github.com/google/docsy v0.4.0/go.mod h1:vJjGkHNaw9bO42gpFTWwAUzHZWZEVlK46Kx7ikY5c7Y=
github.com/google/docsy/dependencies v0.4.0 h1:FXwyjtuFfPIPBauU2t7uIAgS6VYfJf+OD5pzxGvkQsQ=
github.com/google/docsy/dependencies v0.4.0/go.mod h1:2zZxHF+2qvkyXhLZtsbnqMotxMukJXLaf8fAZER48oo=
github.com/puzzle/docsy-puzzle v0.0.0-20220406081603-2cd9f7c8d79a h1:ivuXhwliGTmfp4Zn9dqHiIHPUbniLhsbSYKrsQIoFKM=
github.com/puzzle/docsy-puzzle v0.0.0-20220406081603-2cd9f7c8d79a/go.mod h1:FHtQEgHYfsiO5d1XXaF/mD5C51PQw1kea8JwTGBs93o=
github.com/twbs/bootstrap v4.6.1+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
1 change: 0 additions & 1 deletion themes/docsy
Submodule docsy deleted from 862fb3
1 change: 0 additions & 1 deletion themes/docsy-plus
Submodule docsy-plus deleted from 5e67ce
1 change: 0 additions & 1 deletion themes/docsy-puzzle
Submodule docsy-puzzle deleted from ff3475

0 comments on commit b6c74f7

Please sign in to comment.