From e3df0766c3d104900cdf2128551240e5d0352f49 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 2 Jun 2011 17:19:09 -0300 Subject: Fix bug 827 - "Anchor sign for headers to copy links for sections" Reviewer: Marcelo Lira Luciano Wolf --- doc/_themes/pysidedocs/static/pysidedocs.css | 8 +++++++- doc/conf.py.in | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') 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 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