From eca2d705206483d04cfa7b24b51459f3d266f457 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Tue, 31 May 2011 11:43:34 -0300 Subject: Fix bug 827 - "Anchor sign for headers to copy links for sections" --- doc/_themes/pysidedocs/static/pysidedocs.css | 8 +++++++- doc/conf.py.in | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/_themes/pysidedocs/static/pysidedocs.css b/doc/_themes/pysidedocs/static/pysidedocs.css index 741a6cfae..0a6a35a4f 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 97c756a44..a87d9f207 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 tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. -- cgit v1.2.3