-
Notifications
You must be signed in to change notification settings - Fork 696
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 - remove 'edit on GitHub' link #2754
Docs - remove 'edit on GitHub' link #2754
Conversation
@trankmichael someone with access to the readthedocs account of SecureDrop should
I'm willing to do that if given access :-) |
I reviewed this implementation and it looks correctly implemented but I do not have access to read the docs. Removing myself as assigned but the implementation LGTM. |
Hey @trankmichael - I pushed these commits to |
@trankmichael gentle new-year ping ? :-) |
I just edited the After looking into this and I saw that on the original thread sphinx-doc/sphinx/#2386 someone mentioned that the fix may currently be broken due to the currently open issue sphinx-doc/sphinx/#2442 . I am still not sure what an appropriate workflow would be for checking if this fix. Can someone check if this solved it on RTD? If it didnt Ill look into some other workarounds as mentioned above. |
a02835f
to
89edacb
Compare
@redshiftzero @conorsch I would be happy to test if given access to the readthedocs account :-) |
@redshiftzero @conorsch ping ? |
Thanks for ping @dachary - the permissions are pretty bad on readthedocs so I just went ahead and pushed the latest changes to the test branch Unfortunately it doesn't look like your latest change @trankmichael resolved the issue. Reading the issue you posted, I agree that it sounds like the functionality to resolve this isn't working on readthedocs. Thanks again for the work you've put into investigating and resolving this. Let me know if you want to focus on another issue and we can mark #2194 as blocked. That said, if you'd like to continue to try additional workarounds, one way to test a change of this type would be to enable building on readthedocs of your fork of this repo, I believe that should work, though you'd need to first sign up for a readthedocs account (free). Alternatively, feel free to push changes here and ping us and we can push 'em to the branch we've been using 😄 |
Thanks for the info! Ill make an RTD account and continue to work on this on my fork. Ill ping if i get it working |
Hey @trankmichael - since we're in a holding pattern on this one, I'm going to close for now. Feel free to re-open if you unravel the readthedocs |
Status
work needed
Description of Changes
Fixes #2194 .
Removes the "Edit on Github" link in the top right of the header in the doc template.
Followed the fix outlined at sphinx-doc/sphinx/#2386
Testing
Local builds with
make docs
works and linting passes. I am not sure how to confirm whether or not the link is actually removed because these changes are not included when the docs are built locally withmake docs
. Builds withmake docs
have "View source" instead of "Edit on Github". Both types of links were removed in these changes. Could someone advise me on how to check whether or not the "Edit on Github" link is in fact removed?Deployment
Any special considerations for deployment? Consider both:
Checklist
If you made changes to documentation: