Skip to content

Commit 618fe26

Browse files
kandersolarcwhanse
authored andcommitted
DOC: remove superscript formatting for citation callouts (pvlib#855)
* remove superscript formatting for footnotes via css override * update conf.py comments
1 parent c20d443 commit 618fe26

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.footnote-reference {
2+
font-size: 100% !important; /* default is 90% */
3+
top: 0.0em !important; /* default is -0.4em */
4+
}

docs/sphinx/source/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,13 @@ def __getattr__(cls, name):
223223
# Output file base name for HTML help builder.
224224
htmlhelp_basename = 'PVLIB_Pythondoc'
225225

226-
# A workaround for the responsive tables always having annoying scrollbars.
226+
227+
# custom CSS workarounds
227228
def setup(app):
229+
# A workaround for the responsive tables always having annoying scrollbars.
228230
app.add_stylesheet("no_scrollbars.css")
231+
# Override footnote callout CSS to be normal text instead of superscript
232+
app.add_stylesheet("no_reference_superscript.css")
229233

230234

231235
# -- Options for LaTeX output ---------------------------------------------

0 commit comments

Comments
 (0)