-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
View / Edit doesn't work #3515
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
I think this issue is related to Mkdocs only, with sphinx works fine. I was able to replicate this on my local instance, looks like the "Edit" url is taken from the And also I noted that the footer url (from the floating v) is incorrect |
I think the top edit button is related to the theme (not sure, I was unable to find that code), the link on the footer is definitely related to the code base. |
After investigating more on this issue, I found you are using a custom theme (based on rtd). So, the real problem is on the templates, isn't a RTD bug. For the "edit" link you need to update this file https://github.com/HelloZeroNet/Documentation/blob/master/readthedocs/breadcrumbs.html and inject the appropriates values (see http://www.mkdocs.org/about/release-notes/#context-variables). About the second problem, when #3525 is merged you need to define the global variable |
@grez911 I just see you deleted the whole custom theme, about the edit link please see #3991 (comment) |
Closing in favor of #3991 |
Details
Expected Result
Click on
v:latest
in the right bottom corner -> On GitHub -> View / Edit.It should open https://github.com/HelloZeroNet/Documentation/blob/master/docs/faq.md
Actual Result
404 Error.
P.S. Please don't close as a duplicate of #1422 or #1483, because it's not fixed.
The text was updated successfully, but these errors were encountered: