-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to check out submodules #822
Comments
Why are you using the Simply omit this option and it will work: git submodule update --init --recursive |
I require the |
You can overwrite the branch in your
Be aware however, since docsy pulls in bootstrap version 4.6.1, your submodule will be out of sync. |
Well, |
My bad, the PR #823 is not yet merged. |
Can you please try:
Does this resolve your problem? |
I'm switching to proper hugo modules with [module]
[[module.imports]]
disable = false
ignoreConfig = false
ignoreImports = false
path = 'github.com/google/docsy' So, if this works, I think this issue can be closed. |
Hmm … this doesn't work. How am I supposed to use |
Please note that using docsy as hugo module is work in progress currently it will not work with HEAD of docsy repo. I just reworked and rebased #801, IMHO it is ready to merge and won't break anything. Once #801 were merged, you could immediately test it and report your findings back to us. Meanwhile, you may have a look at the preliminary documentation for docsy as Hugo Module, submitted with PR #802, especially the chapter on Note: In case #801 gets merged into |
So, #801 is merged. What do I need to use |
You need to convert your existing site to a Hugo module. Detailed instructions are authored already. Good luck, please let me know if conversion worked for you! |
I'm going to close this issue since there isn't a problem with Docsy submodules (but rather the particular nature of the context in which you are using docsy) and, in any case, you've decided to give docsy-as-a-hugo-module a try. Thanks for doing that, and as @deining says, do give us feedback either by opening another issue or a discussion. |
Hi,
after a fresh
clone
I hit following error for checking out the submodulesAs we use
docsy
as submodule in our own Hugo repo, this is quite annoying as we can't build our site.The text was updated successfully, but these errors were encountered: