-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Extra slash in "Edit on GitHub" link #5303
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
Hi @mahmoud , |
Can you try updating the rtd-theme? https://github.com/mahmoud/glom/blob/5a10e66c2f1204988f97e6545055bfc5b36e052f/requirements-rtd.txt#L36 Current one is |
@rexzing you're absolutely right! @stsewd trying this now, thanks! |
@stsewd Hmm, no luck I'm afraid. In fact, I see 3 slashes now: |
Thanks, I'll try to replicate this locally and dig a little more |
Whoops, I lied, did stuff on the wrong local branch. Updating the theme got me a working link, with It still gets me to GitHub though, so I'm happy enough! :) Thanks for your help! |
The extra slash is from the repo url, we could strip it, tho |
I'll leave it up to you, but I think an rstrip and join of a single slash should yield a nicely normalized URL. :) |
@stsewd Thank you! |
Details
Expected Result
"Edit on GitHub" link at the top of the page should link to doc on GitHub.
Actual Result
"Edit on GitHub" link at the top of the page links to 404. There is an extra slash in the URL:
https://github.com/mahmoud/glom//master/docs/index.rst
(afterglom
, beforemaster
)Interestingly, the "Edit" link in the bottom left menu seems to work fine.
The text was updated successfully, but these errors were encountered: