Skip to content

DOC: remove superscript formatting for citation callouts #855

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

Merged
merged 3 commits into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/sphinx/source/_static/no_reference_superscript.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.footnote-reference {
font-size: 100% !important; /* default is 90% */
top: 0.0em !important; /* default is -0.4em */
}
6 changes: 5 additions & 1 deletion docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,13 @@ def __getattr__(cls, name):
# Output file base name for HTML help builder.
htmlhelp_basename = 'PVLIB_Pythondoc'

# A workaround for the responsive tables always having annoying scrollbars.

# custom CSS workarounds
def setup(app):
# A workaround for the responsive tables always having annoying scrollbars.
app.add_stylesheet("no_scrollbars.css")
# Override footnote callout CSS to be normal text instead of superscript
app.add_stylesheet("no_reference_superscript.css")


# -- Options for LaTeX output ---------------------------------------------
Expand Down