placing a link next to "Show Source"

5 views
Skip to first unread message

Tim Michelsen

unread,
Oct 3, 2012, 6:59:33 PM10/3/12
to sphin...@googlegroups.com
Hello,
I would like to place an external link next to "Show Source" on all pages.

Where do I need to search & make modifications?

Thanks for your asssistance,
Timmie

Tim Michelsen

unread,
Oct 4, 2012, 3:48:30 AM10/4/12
to sphin...@googlegroups.com
Hello,
I would like to place an external link next to "Show Source" on all pages.

Where do I need to search & make modifications?

Thanks for your assistance,
Timmie

Bernhard Grotz

unread,
Oct 5, 2012, 11:23:02 AM10/5/12
to sphin...@googlegroups.com

Hi,

* Tim Michelsen <timmic...@gmx-topmail.de> [05.10.2012 17:10]:
Take a look to the ``sourcelink.html``-file in your main sphinx path. On a
Debian or Ubuntu system, it should be placed somewhere like:

/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/themes/basic

You can simply add some HTML code there (but note that changes in that file have
global scope).

Greetings,

Bernhard

signature.asc

Tim Michelsen

unread,
Oct 7, 2012, 2:00:53 PM10/7/12
to sphin...@googlegroups.com
>> I would like to place an external link next to "Show Source" on all pages.
>>
>> Where do I need to search & make modifications?
>>
>> Thanks for your assistance,
>> Timmie
>
> Take a look to the ``sourcelink.html``-file in your main sphinx path. On a
> Debian or Ubuntu system, it should be placed somewhere like:
>
> /usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3-py2.7.egg/sphinx/themes/basic
>
> You can simply add some HTML code there (but note that changes in that file have
> global scope).

Thanks for your help I found it well.


Reply all
Reply to author
Forward
0 new messages