We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56874cb commit 58247f3Copy full SHA for 58247f3
src/sphinx_book_theme/header_buttons/source.py
@@ -55,7 +55,7 @@ def add_source_buttons(app, pagename, templatename, context, doctree):
55
# Use plain=1 to ensure the source text is shown, not rendered
56
source_url = edit_url.replace("/edit/", "/blob/") + "?plain=1"
57
elif provider.lower() == "gitlab":
58
- source_url = edit_url.replace("/edit/", "/blob/")
+ source_url = edit_url.replace("/edit/", "/blob/") + "?plain=1"
59
elif provider.lower() == "bitbucket":
60
source_url = edit_url.replace("?mode=edit", "")
61
0 commit comments