summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-05-31 11:43:34 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-05-31 11:43:34 -0300
commiteca2d705206483d04cfa7b24b51459f3d266f457 (patch)
treec0b800d5b46fa295d3711e5f27c0f360d1a40849
parentb800b2824c9418a27b1bade8e570d87fe7df06a8 (diff)
Fix bug 827 - "Anchor sign for headers to copy links for sections"
-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 97c756a..a87d9f2 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.