Skip to content

Commit

Permalink
Make docsy a go module that requires bootstrap and font awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Dec 1, 2021
1 parent e5d4dc9 commit 7a5d141
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package-lock.json
.hugo_build.lock
/public
resources/
_vendor/

# vim temporary files
*~
Expand Down
4 changes: 4 additions & 0 deletions _vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# github.com/gohugoio/hugo-mod-bootstrap-scss-v4 v0.0.0-20200902213320-c9cb5e39d8c6
# github.com/twbs/bootstrap v4.5.2+incompatible
# github.com/deining/hugo-mod-font-awesome-scss v0.0.0-20210415150057-c3ffa1501924
# github.com/FortAwesome/Font-Awesome v0.0.0-20210316185733-d79d85c3fad8
53 changes: 53 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,56 @@ isHTML = true
mediaType = "text/html"
path = "_print"
permalinkable = false

[module]
[[module.mounts]]
source = "content"
target = "content"

[[module.mounts]]
source = "static"
target = "static"

[[module.mounts]]
source = "layouts"
target = "layouts"

[[module.mounts]]
source = "data"
target = "data"

[[module.mounts]]
source = "assets"
target = "assets"

[[module.mounts]]
source = "i18n"
target = "i18n"

[[module.mounts]]
source = "archetypes"
target = "archetypes"

[[module.mounts]]
source = "_vendor/github.com/FortAwesome/Font-Awesome/scss"
target = "assets/vendor/Font-Awesome/scss"

[[module.mounts]]
source = "_vendor/github.com/twbs/bootstrap/scss"
target = "assets/vendor/bootstrap/scss"

[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss-v4"
[[module.imports.mounts]]
source = "/"
target = "assets/vendor"
[[module.imports.mounts]]
source = "assets/scss/bootstrap/_vendor"
target = "assets/vendor/bootstrap/scss/vendor"

[[module.imports]]
path = "github.com/deining/hugo-mod-font-awesome-scss"
[[module.imports.mounts]]
source = "/"
target = "assets/vendor"

8 changes: 8 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module github.com/google/docsy

go 1.16

require (
github.com/deining/hugo-mod-font-awesome-scss v0.0.0-20210415150057-c3ffa1501924 // indirect
github.com/gohugoio/hugo-mod-bootstrap-scss-v4 v0.0.0-20200902213320-c9cb5e39d8c6 // indirect
)
8 changes: 8 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20210316185733-d79d85c3fad8 h1:3h1ZlZmKNqZtiTD6FF7GijnIB/PU9/jR+dclHF80pFE=
github.com/FortAwesome/Font-Awesome v0.0.0-20210316185733-d79d85c3fad8/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/deining/hugo-mod-font-awesome-scss v0.0.0-20210415150057-c3ffa1501924 h1:X8/yaitCpv2jrZR/NyH8Lsu4n9byqJrni72tcfgxMEM=
github.com/deining/hugo-mod-font-awesome-scss v0.0.0-20210415150057-c3ffa1501924/go.mod h1:Xg+5zZzZpuh3Bua72PlygSwF2jpk9m8lN/ZyEdKNM/0=
github.com/gohugoio/hugo-mod-bootstrap-scss-v4 v0.0.0-20200902213320-c9cb5e39d8c6 h1:Neo6xDvmZMV41d4kmbjv9ZCYuqzbITl8R/4t6Aeng5A=
github.com/gohugoio/hugo-mod-bootstrap-scss-v4 v0.0.0-20200902213320-c9cb5e39d8c6/go.mod h1:dAcE2kCmCarbiwNTV4xxlDFShQHiok9kDjw1VoN2J8g=
github.com/twbs/bootstrap v4.5.2+incompatible h1:QR6UOtm1+LCDK53CzEp8U0NPIYeRUktVgNhq0gaAGP0=
github.com/twbs/bootstrap v4.5.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

0 comments on commit 7a5d141

Please sign in to comment.