summaryrefslogtreecommitdiffstats
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>2011-06-02 17:53:47 -0300
commit2b78766cdc750ab28ba68795be115403d1c8d133 (patch)
tree4c15548b5fd2baf894ff623b9e0257332360eb3b /doc
parent80c101172197fec4b05e8c56029ea13bb43820b0 (diff)
downloadpyside-2b78766cdc750ab28ba68795be115403d1c8d133.tar.gz
pyside-2b78766cdc750ab28ba68795be115403d1c8d133.tar.xz
pyside-2b78766cdc750ab28ba68795be115403d1c8d133.zip
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 fd5876a..9cb377e 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 35edbd2..3fd1781 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.