-
Notifications
You must be signed in to change notification settings - Fork 904
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
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-dev And 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.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.map
file, as can be expected -- because the path to various resources has changed, e.g.:Preview: https://deploy-preview-889--docsydocs.netlify.app/