Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ccc0a2

Browse files
committed
Add some CSS so that there are lines above classes and methods in the
auto-generated docs. svn path=/trunk/matplotlib/; revision=5404
1 parent 9a72ae4 commit 0ccc0a2

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

doc/_static/matplotlib.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@import "default.css";
2+
3+
dl.class, dl.function {
4+
border-top: 2px solid #888;
5+
}
6+
7+
dl.method, dl.attribute {
8+
border-top: 1px solid #aaa;
9+
}

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
# The style sheet to use for HTML and HTML Help pages. A file of that name
8181
# must exist either in Sphinx' static/ path, or in one of the custom paths
8282
# given in html_static_path.
83-
html_style = 'default.css'
83+
html_style = 'matplotlib.css'
8484

8585
# The name for this set of Sphinx documents. If None, it defaults to
8686
# "<project> v<release> documentation".

0 commit comments

Comments
 (0)