-
Notifications
You must be signed in to change notification settings - Fork 945
Description
Hi, I am trying to use hugo modules to manage dependencies. When using hugo modules then everything has to be configured this way and the theme = ["docsy"] configuration needs to be replaced by:
[module]
[[module.imports]]
path = "github.com/google/docsy"
#theme = ["docsy"]
That doesn't work because docsy uses submodules and hugo modules doesn't seem to take care of that so hugo build results in failure due to missing bootstrap or Font-Awesome files.
Alternatively the docsy theme can still be kept as a git submodule and you tell hugo to load it as a module using this configuration:
[module]
[[module.imports]]
path = "docsy"
#theme = ["docsy"]
That configuration seems to work fine and hugo builds with no errors but the generated pages doesn't seem right. Here's a test using https://github.com/google/docsy-example :