Skip to content

Commit b08e422

Browse files
Offer Docsy as a single Hugo Module (#1120)
1 parent 99eacb0 commit b08e422

File tree

7 files changed

+19
-52
lines changed

7 files changed

+19
-52
lines changed
File renamed without changes.
File renamed without changes.

config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,22 @@ module:
4444
target: assets/vendor/Font-Awesome
4545
- source: ../../node_modules/@fortawesome/fontawesome-free/webfonts
4646
target: static/webfonts
47+
# Mounts for module installations,
48+
# needed to work around a known bug in Go’s module management.
49+
- source: assets/bootstrap/scss/_vendor
50+
target: assets/vendor/bootstrap/scss/vendor
51+
imports:
52+
- path: github.com/twbs/bootstrap
53+
disable: false
54+
mounts:
55+
- source: scss
56+
target: assets/vendor/bootstrap/scss
57+
- source: dist/js
58+
target: assets/vendor/bootstrap/dist/js
59+
- path: github.com/FortAwesome/Font-Awesome
60+
disable: false
61+
mounts:
62+
- source: scss
63+
target: assets/vendor/Font-Awesome/scss
64+
- source: webfonts
65+
target: static/webfonts

dependencies/config.toml

Lines changed: 0 additions & 42 deletions
This file was deleted.

dependencies/go.mod

Lines changed: 0 additions & 8 deletions
This file was deleted.

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f h1:bvkUptSRPZBr3Kxuk+bnWCEmQ5MtEJX5fjezyV0bC3g=
22
github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
33
github.com/google/docsy/dependencies v0.4.0/go.mod h1:2zZxHF+2qvkyXhLZtsbnqMotxMukJXLaf8fAZER48oo=
4-
github.com/google/docsy/dependencies v0.4.1-0.20220905171817-ae8b8117ed16 h1:6Ju+wn/ReUk9qmvKU68JlYhnWe48Tq+2HZ4vyeSpNMk=
5-
github.com/google/docsy/dependencies v0.4.1-0.20220905171817-ae8b8117ed16/go.mod h1:2zZxHF+2qvkyXhLZtsbnqMotxMukJXLaf8fAZER48oo=
64
github.com/google/docsy/dependencies v0.5.1-0.20221014161617-be5da07ecff1 h1:DH0NbaXJjODFImfRJGCSXDhnRO/IaD2VTGVlRjULUtc=
75
github.com/google/docsy/dependencies v0.5.1-0.20221014161617-be5da07ecff1/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE=
86
github.com/twbs/bootstrap v4.6.2+incompatible h1:TDa+R51BTiy1wEHSYjmqDb8LxNl/zaEjAOpRE9Hwh/o=

0 commit comments

Comments
 (0)