Drop Bootstrap and Font Awesome git submodules#889
Conversation
|
I did a quick partial test and I don't believe that this will break #871. |
bf1eae6 to
922d82e
Compare
|
All: The only extra step required on the part of existing users, if/once this is merged, would be this extra command after fetching the docsy submodule: $ (cd themes/docsy && npm install) Or, for projects that are already using NPM, then can add the following script to run the docsy npm install at the same time as the project's: "scripts": {
...
"postinstall": "cd themes/docsy && npm install",
...
},The cleanest approach might be to install docsy as an NPM package, which would be done something like this: $ npm install github:chalin/docsy#chalin-bs+fa-via-npm-2022-02-14 --save-devAnd then project's wouldn't have to run any extra commands or NPM scripts. But this isn't an approach that I want to fully promote yet since I haven't worked out the details. (And I want to get the Hugo module PR in first.) |
geriom
left a comment
There was a problem hiding this comment.
Tested it. Works like a charm.
Thank you!
|
Tested it, and could make it work too, after some tweaking. Experiences/thoughts:
Since my checkout directory was
and I needed both to get the site up and running. Can we bring these together?
|
This is an alternative to those steps. I tried it on a clean linux VM with only node installed, nothing else. Doing After we get this and #871 merged we should revisit our docs and make a decision about how we present the different alternatives. |
aeb245b to
27cdfbe
Compare
|
Thank you both @deining and @geriom for your feedback.
Right, that's to be expected if checked out to another folder name.
Yes, but those two blocks serve different purposes and cater to two different audiences: the first is for docsy users and the second for docsy contributors. I agree with @geriom that the README seems ok for now. (Note that I just pushed a commit to remove the
The project is already fetching the version of hugo we need via the @geriom wrote:
Agreed. |
10195b0 to
b47a3a4
Compare
57ee4ad to
3d0432f
Compare
scss/main.css.mapfile, as can be expected -- because the path to various resources has changed, e.g.:Preview: https://deploy-preview-889--docsydocs.netlify.app/