-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into malformed-links
- Loading branch information
Showing
9 changed files
with
150 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
/* no reference superscript */ | ||
.footnote-reference { | ||
font-size: 100% !important; /* default is 90% */ | ||
top: 0.0em !important; /* default is -0.4em */ | ||
} | ||
|
||
/* reference number in brackets */ | ||
.footnote-reference::before { | ||
content: '['; | ||
} | ||
.footnote-reference::after { | ||
content: ']'; | ||
font-size: 100% !important; | ||
vertical-align: baseline !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
{# | ||
|
||
Modify the "Edit on Github" links to handle auto-generated pages in the | ||
example gallery and the API reference listings. The GH links that sphinx | ||
example gallery and the API reference listings. The GH links that sphinx | ||
generates by default make the assumption that an HTML file comes from an RST | ||
file with the same filepath, which isn't the case for autogenerated files. The | ||
logic to generate the correct URL is in conf.py, but we still have to modify | ||
the template here to change the "Edit this page" text to "View on GitHub". | ||
|
||
#} | ||
|
||
{% if sourcename is defined and theme_use_edit_page_button==true and page_source_suffix %} | ||
{% set src = sourcename.split('.') %} | ||
<div class="tocsection editthispage"> | ||
<a href="{{ get_edit_url() }}"> | ||
<i class="fab fa-github-square"></i> {{ _("View on GitHub") }} | ||
</a> | ||
</div> | ||
{% endif %} | ||
{% extends "!components/edit-this-page.html" %} | ||
|
||
{% block edit_this_page_text %} | ||
View on GitHub | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.