[sphinx-dev] A way to reuse hyperlinks?

2010-06-25 Thread Evgeny
Hello, is there a way to reuse hyperlinks in the sphinx system? i.e - avoid copy-pasting urls from file to file? for example I would like to have external links entered like so: `some link text name_for_url`_ and in some other file: .. _name_for_url: http://example.com/ Thanks. Evgeny. --

Re: [sphinx-dev] A way to reuse hyperlinks?

2010-06-25 Thread Max Battcher
On 06/24/2010 08:45 PM, Evgeny wrote: Hello, is there a way to reuse hyperlinks in the sphinx system? i.e - avoid copy-pasting urls from file to file? for example I would like to have external links entered like so: `some link textname_for_url`_ and in some other file: .. _name_for_url:

Re: [sphinx-dev] A way to reuse hyperlinks?

2010-06-25 Thread DasIch
There is no good solution for it in 0.x but 1.0 has an extension called extlinks http://sphinx.pocoo.org/latest/ext/extlinks.html which solves this problem. Currently 1.0 is still at the beta stage so if you are not comfortable using 1.0b2 you will have to wait for the final release to use this