Conversation
4e2028b to
75ea42f
Compare
|
is this PR still needed? @phil-pona |
|
It depends if you would like to use Hugo Modules instead of Git Submodules. Docsy now recommends using Hugo Modules, but still supports Git Submodules. This was left WIP because the Docsy version supporting Hugo Modules was not released yet. Since the README now contains references to Hugo Modules, I guess you could use it now. |
|
The PR needs to be adjusted though, the font and boostrap deps are part of the github.com/google/docsy/dependencies I'm going to try to implement this one today. After that we can finally rearrange the deps so that the docsy and docsy dependencies are deps from the docsy plus instead of the actual Training module, which will make updating those dependencies a lot easier and more straightforward |
|
implemented with #13 |
The following PRs have added Hugo Modules support to Docsy:
google/docsy#871
google/docsy#802
I would wait until v0.2.0 is released.
To use the the docsy-plus module the following can be added into the config:
It might even make sense to have
docsy-puzzleanddocsy-acendmanage thedocsy-plustheme.See https://gohugo.io/hugo-modules/use-modules/ for more information on how to use Hugo Modules.
I had some problems with Module versions. The required module versions from https://github.com/google/docsy/blob/master/go.mod must be added to
go.modwithin this repository. Runninghugo mod tidyshould add these automatically.