-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[BUG] <npm help npm> "Edit this page on GitHub" invalid link #8212
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
Comments
@realyoterry Thank you for this report Reproduced locally, when running |
Quick look shows that when served from localhost, the edit page is generated without the |
I think the main documentation website is opening link correctly.. it could be an issue when locally installed docs pages is missing the This is the path when I ran |
Yep, that makes it pretty low priority, but shouldn't be difficult for someone with the time |
Is this issue still open? |
Fixed `github_path` to correctly link to the GitHub edit page. ## References Fixes #8212
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When I type
> npm help npm
in cmd, scroll right down and click "Edit this page on GitHub", it opens up https://github.com/npm/cli/edit/latest/docs/content/commands/npm.md which is invalid.Expected Behavior
I expected the link to work. The link should go to: https://github.com/npm/cli/blob/latest/docs/lib/content/commands/npm.md
Steps To Reproduce
npm help npm
in command prompt / terminalEnvironment
The text was updated successfully, but these errors were encountered: