Skip to content

Commit bf993a2

Browse files
committed
Fixed #353 -- added permalinks to Sphinx documentation.
1 parent 99f33ca commit bf993a2

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
# typographically correct entities.
148148
html_use_smartypants = True
149149

150-
html_add_permalinks = None
150+
html_add_permalinks = True
151151

152152
# Custom sidebar templates, maps document names to template names.
153153
#html_sidebars = {}

docs/theme/deis/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap.min.css', 1) }}" type="text/css">
2929
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap-responsive.min.css', 1) }}" type="text/css">
3030
<link rel="stylesheet" href="{{ pathto('_static/css/main.css', 1) }}" type="text/css">
31+
<link rel="stylesheet" href="{{ pathto('_static/css/deis-docs.css', 1) }}" type="text/css">
3132
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css">
3233
<link rel="shortcut icon" href="{{ pathto('_static/favicon.ico', 1) }}">
3334
<script

web/static/css/deis-docs.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
a.headerlink {
3+
visibility: hidden;
4+
margin-left: 8px;
5+
vertical-align: middle;
6+
}
7+
8+
h1:hover > a.headerlink,
9+
h2:hover > a.headerlink,
10+
h3:hover > a.headerlink,
11+
h4:hover > a.headerlink,
12+
h5:hover > a.headerlink,
13+
h6:hover > a.headerlink,
14+
dt:hover > a.headerlink {
15+
visibility: visible;
16+
}

0 commit comments

Comments
 (0)