Skip to content

Commit

Permalink
DOC: fix style issue with numpydoc parameter names and sphinx_rtd_the…
Browse files Browse the repository at this point in the history
…me (#283)
  • Loading branch information
jorisvandenbossche committed Jan 22, 2021
1 parent 13a948b commit 565b436
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*Copied from sphinx' basic.css to ensure the sphinx >2.0 docstrings are
rendered somewhat properly (xref https://github.com/numpy/numpydoc/issues/215) */

.classifier {
font-style: oblique;
}

.classifier:before {
font-style: normal;
margin: 0.5em;
content: ":";
}
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_css_files = [
'custom.css',
]

0 comments on commit 565b436

Please sign in to comment.