diff options
author | Georg Brandl <georg@python.org> | 2010-05-24 14:57:07 +0400 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-05-24 14:57:07 +0400 |
commit | 0238e830134d4eecbc52bce644f555f2885bbd59 (patch) | |
tree | d381671d66895cf8a5dd8a599de9459a3a39763c /sphinx/ext/extlinks.py | |
parent | 563d38a4535aadd321ac970c0259158a8835032f (diff) | |
parent | 0301dccddaaaf0615e3d8df47a744a437fa5d355 (diff) |
Merge with http://bitbucket.org/tpowers/sphinx/ (rewriting the external/internal distinction code)
In HTML output, references now get the class ``internal`` if they are internal to the whole project, as opposed to internal to the current page.
The ``menuselection`` and ``guilabel`` roles now support ampersand accelerators.
Diffstat (limited to 'sphinx/ext/extlinks.py')
-rw-r--r-- | sphinx/ext/extlinks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/extlinks.py b/sphinx/ext/extlinks.py index 36f4d697d..9a29918a5 100644 --- a/sphinx/ext/extlinks.py +++ b/sphinx/ext/extlinks.py @@ -46,7 +46,7 @@ def make_link_role(base_url, prefix): title = full_url else: title = prefix + part - pnode = nodes.reference(title, title, refuri=full_url) + pnode = nodes.reference(title, title, internal=False, refuri=full_url) return [pnode], [] return role |