mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-17 16:34:48 -05:00
Preliminary fix for broken translations in autodoc/viewcode.
This commit is contained in:
@@ -47,7 +47,7 @@ def doctree_read(app, doctree):
|
||||
for signode in objnode:
|
||||
if not isinstance(signode, addnodes.desc_signature):
|
||||
continue
|
||||
modname = signode['module']
|
||||
modname = signode.get('module')
|
||||
if not modname:
|
||||
continue
|
||||
fullname = signode['fullname']
|
||||
|
||||
Reference in New Issue
Block a user