DOC: fix docstring styling with sphinx > 2 (#1299)

This commit is contained in:
Joris Van den Bossche
2020-02-16 22:36:27 +01:00
committed by GitHub
parent 9e45a12bcf
commit 952e5f4e7d
+13
View File
@@ -2,3 +2,16 @@
div.section a span {
color: #2980B9 !important
}
/*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: ":";
}