-
Notifications
You must be signed in to change notification settings - Fork 322
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
Add source_edit_link
as supported theme configuration parameter
#510
Conversation
source_edit_link
as theme configuration parametersource_edit_link
as supported theme configuration parameter
This would also be useful for me. This re-uses the capability already present in |
Oh, it's pretty similar to my #528 where I added also one hunk in ``src/furo/theme/furo/components/edit-this-page.html` which is needed for proper displaying of Edit icon. |
Oops. Let me fix this conflict and rebase edit: OK, ready to go now |
add entry additionally in conf.py Remove unnecessary line from conf.py
Well it works for me with the following configuration:
I can't use only Or do I miss something? |
It’s an or statement. You should be able to use it (assuming you get main from both projects) by only declaring the edit link. |
No, it's not working when I install main branches for all projects. The following is missing: |
Well, I went ahead and cleaned things up. :) https://pradyunsg.me/furo/customisation/edit-button/ will update to reflect the new semantics. |
Great, thanks for it! |
This was necessary to avoid the below message, and generate the edit button correctly pointing to a custom gitlab instance
This fix (and especially this theme) works nicely for our doc site!