aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-06-02 17:09:46 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:15:24 -0300
commit811c7cb53af4134fd419bc31ca3bcb04cfc262b0 (patch)
tree81e24cfa1e40b2c2f9e7e698b5a117eac23ba699 /doc
parentd8ffe3ff6633f968655f05c4f788bed9ac7316f7 (diff)
Fix bug 827 - "Anchor sign for headers to copy links for sections"
Diffstat (limited to 'doc')
-rw-r--r--doc/_themes/pysidedocs/static/pysidedocs.css8
-rw-r--r--doc/conf.py.in2
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/_themes/pysidedocs/static/pysidedocs.css b/doc/_themes/pysidedocs/static/pysidedocs.css
index 741a6cf..0a6a35a 100644
--- a/doc/_themes/pysidedocs/static/pysidedocs.css
+++ b/doc/_themes/pysidedocs/static/pysidedocs.css
@@ -138,7 +138,13 @@ pre * {
}
.headerlink {
- display: none;
+ font-size: 100%;
+ color: inherit;
+ float: right;
+}
+
+h1 .headerlink {
+ padding-right: 50px;
}
a, a:visited {
diff --git a/doc/conf.py.in b/doc/conf.py.in
index e49e30f..e83cc32 100644
--- a/doc/conf.py.in
+++ b/doc/conf.py.in
@@ -154,6 +154,8 @@ html_split_index = False
# If true, links to the reST sources are added to the pages.
html_show_sourcelink = False
+html_add_permalinks = True
+
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.