-
Notifications
You must be signed in to change notification settings - Fork 680
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
Using local clone of docsy theme (via hugo workspace) #194
Conversation
e97abca
to
ecc2aaa
Compare
ecc2aaa
to
a31d942
Compare
36b7650
to
ed663e3
Compare
Reworked the PR, it now corresponds to HEAD of repo again. Additionally, I added support for local builds via |
79f1b6a
to
e0e678d
Compare
e0e678d
to
c05ffb3
Compare
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.
See inline comments, thanks.
Would the following NPM script work under Windows? "test": "echo ${HI:-Hello}", |
I don't have a Windows machine at hand right now. Will check tomorrow at work. |
c05ffb3
to
8f6fe5d
Compare
Support of local builds, using docsy theme in a sibling folder
8f6fe5d
to
6b2ae5a
Compare
Thanks for your comments, all raised topics are resolved now. |
No, unfortunately not: Windows
Linux
|
I'm trying to avoid introducing dependencies for contributors. I don't have a solution that I'm 100% happy with yet (which is why I haven't addressed #973) -- I'm looking for a solution that I can adopt across all of my projects. Cross-env might be the answer. Thanks for testing out the |
This PR adds a hugo workspace file to the repo, pointing to the local git submodule clone of the
docsy
theme.This way, local edits to the theme can be immediately picked up when previewing the site. This facilitates hacking the docsy theme. A section
Hacking docsy theme
was added toREADME.md
, describing the details of local edits while using a hugo workspace file.