-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
docs: Fix Windows PATH issues #2280
Comments
Hi @ bep, thank you for the heads up. Almost ready to make a commit, but then saw the current paragraphs for Windows 7 and 8.x, and after comparing with https://java.com/en/download/help/path.xml, I hesitated. But maybe I will just fix the current error in the Windows 10 section and deal with other text later. Will be pushing when I am back home. |
I don't get it? What is wrong with my bug report re Win 7 and 8? |
Oh, nothing wrong with your bug report at all: It is not directly related, but it is in the vicinity. What I had trouble with was this following paragraph that was first submitted by @JoeArizona back in February 2016:
What I think is that there are probably easier ways to edit the user What I was also thinking was that it may be easier to:
But yeah, both of these are a lot of work on our part, and these are definitely out of scope for this bug report. (Just me dreaming out loud.) So yeah, don't worry about it, and I will be pushing shortly when I get home, fixing this issue and #2285 specifically and not anything else. |
Yo, sorry about that. The .exe file should not have been in the path. Just in case there's any ambiguity about this statement: "The PATH entry should be the folder where Hugo lives, not the binary." While the "binary" file should not be in the path, the bin folder should definitely be in the path if they put the hugo.exe file there. Windows command line won't work if the path is C:/Hugo and hugo.exe is in C:/Hugo/bin. bep probably knows this – I just didn't want people to mix up binary and bin. As for Windows 7 and 8 instructions, a video could work, but don't underestimate how much people can screw up their systems trying to change the PATH variable with the Windows interface. It's one field. It's like the field for your first name on a web form, just one field. And it goes on forever, this giant string of smushed up paths separated by semicolons. It's easy to highlight the whole string and delete it with an errant keystroke. In fact, I think it's all highlighted by default when you open it, so one keystroke and it's all gone. The Java doc is missing a step, and novice users will stumble with those instructions. It might actually be easier to use the command line. |
i.e., "The PATH entry should be the folder where Hugo lives, not the binary." Fixes #2280. Also fix a rendering issue with list entries that consist of multiple paragraphs by using four spaces instead of two. Special thanks to @shurcooL for the insight! (Fixes #2285) Also made a few minor formatting tweaks.
The fix is committed and now live at https://gohugo.io/tutorials/installing-on-windows/#for-windows-10-users @JoeArizona Thank you for your insights. You have a good point there. Definitely don't want the end-user inadvertently messing up their original PATH variable. I wonder if we should add code to |
i.e., "The PATH entry should be the folder where Hugo lives, not the binary." Fixes gohugoio#2280. Also fix a rendering issue with list entries that consist of multiple paragraphs by using four spaces instead of two. Special thanks to @shurcooL for the insight! (Fixes gohugoio#2285) Also made a few minor formatting tweaks.
Many thanks to @anthonyfok |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
See https://discuss.gohugo.io/t/windows-terminal-not-working/3676
The PATH entry should be the folder where Hugo lives, not the binary.
The text was updated successfully, but these errors were encountered: