Skip to content

Commit

Permalink
Correcting github.com/google/docsy/module, userguide: correcting conf…
Browse files Browse the repository at this point in the history
…ig.toml
  • Loading branch information
deining committed Feb 2, 2022
1 parent e4b42ee commit a88402d
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 19 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module github.com/google/docsy

go 1.12

replace github.com/google/docsy/module v0.1.1-0.20220124145409-3e2cfeba3ad1e => 03eede2c51f62
//replace github.com/google/docsy/module v0.0.0-20220129185551-e4b42eecdf1d => e4b42eecdf1d

require (
github.com/google/docsy/module v0.1.1-0.20220124145409-3e2cfeba3ad1 // indirect
github.com/FortAwesome/Font-Awesome v0.0.0-20210804190922-7d3d774145ac // indirect
github.com/google/docsy/module v0.2.0-pre // indirect
github.com/twbs/bootstrap v4.6.1+incompatible // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20210804190922-7d3d774145ac h1:AjwgwoaDsNEA1Wtc8pgw/BqG7SEk9bKxXPjEPQQ42vY=
github.com/FortAwesome/Font-Awesome v0.0.0-20210804190922-7d3d774145ac/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy/module v0.0.0-20220129185551-e4b42eecdf1d h1:5f3AMLwAG2RrZrafxbbv1NE6EpGQkJCiSvJUkJVLYWc=
github.com/google/docsy/module v0.0.0-20220129185551-e4b42eecdf1d/go.mod h1:XSdPwCDtX3JK1d+wwDwQTSYQ2ZEHzghf/uhGIPoeDjw=
github.com/twbs/bootstrap v4.6.1+incompatible h1:75PsBfPU1SS65ag0Z3Cq6JNXVAfUNfB0oCLHh9k9Fu8=
github.com/twbs/bootstrap v4.6.1+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion module/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ _merge = "deep"
disable = false
[[module.imports.mounts]]
source = "scss"
target = "assets/vendor/Font-Awesome/scss"
target = "assets/vendor/Font-Awesome/scss"
1 change: 1 addition & 0 deletions module/module.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package module
30 changes: 19 additions & 11 deletions userguide/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,25 @@ title = "Docsy Example"
enableRobotsTXT = true

# set docsy as theme, either locally or as module
[module]
# uncomment line below for temporary local development of module
# replacements = "github.com/google/docsy -> ../../docsy"
[module.hugoVersion]
extended = true
min = "0.73.0"
[[module.imports]]
# either get theme from local themes folder
path = "docsy"
# or pull it in as hugo module
# path = "github.com/google/docsy"
theme = ["docsy"]
# theme = ["github.com/google/docsy", "github.com/google/docsy/module"]

# when using docsy as module, instead of using
# theme = ["github.com/google/docsy", "github.com/google/docsy/module"]
# you may alternatively use the declaration given below:
#[module]
# # uncomment lines below for temporary local development of module
# # replacements = "github.com/google/docsy -> ../../docsy"
# # replacements = "github.com/google/docsy/module -> ../../docsy"
# [module.hugoVersion]
# extended = true
# min = "0.73.0"
# [[module.imports]]
# # pull in docsy as hugo module
# path = "github.com/google/docsy"
# [[module.imports]]
# # pull in workaround and dependencies
# path = "github.com/google/docsy/module"

# Will give values to .Lastmod etc.
enableGitInfo = true
Expand Down
4 changes: 1 addition & 3 deletions userguide/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/google/docsy/userguide
module github.com/google/docsy

go 1.12

require github.com/google/docsy v0.1.1-0.20220124145409-3e2cfeba3ad1 // indirect
2 changes: 0 additions & 2 deletions userguide/go.sum

This file was deleted.

0 comments on commit a88402d

Please sign in to comment.