mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#172: The `obj` role now links to modules as promised.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,6 +1,8 @@
|
||||
Release 0.6.2 (in development)
|
||||
==============================
|
||||
|
||||
* #172: The ``obj`` role now links to modules as promised.
|
||||
|
||||
* #19: Tables now can have a "longtable" class, in order to get
|
||||
correctly broken into pages in LaTeX output.
|
||||
|
||||
|
||||
@@ -1270,7 +1270,8 @@ class BuildEnvironment:
|
||||
newnode['refuri'] = builder.get_relative_uri(
|
||||
fromdocname, docname, typ) + '#' + labelid
|
||||
newnode.append(contnode)
|
||||
elif typ == 'mod':
|
||||
elif typ == 'mod' or \
|
||||
typ == 'obj' and target in self.modules:
|
||||
docname, synopsis, platform, deprecated = \
|
||||
self.modules.get(target, ('','','', ''))
|
||||
if not docname:
|
||||
|
||||
Reference in New Issue
Block a user