aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-06-02 17:19:09 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:27 -0300
commite3df0766c3d104900cdf2128551240e5d0352f49 (patch)
tree95bf6499a4490ea54ac666c23758cfd49dfd5275 /doc
parent928fa00609e9e2be428bd7386c62b8c601b4173a (diff)
Fix bug 827 - "Anchor sign for headers to copy links for sections"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
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 fd5876a87..9cb377eb1 100644
--- a/doc/_themes/pysidedocs/static/pysidedocs.css
+++ b/doc/_themes/pysidedocs/static/pysidedocs.css
@@ -142,7 +142,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 35edbd219..3fd1781b5 100644
--- a/doc/conf.py.in
+++ b/doc/conf.py.in
@@ -155,6 +155,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.