mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
parent
b4a6841c46
commit
51f7d351a1
@ -565,7 +565,7 @@ class PyModule(Directive):
|
|||||||
self.state_machine.reporter.warning(
|
self.state_machine.reporter.warning(
|
||||||
'duplicate module description of %s, '
|
'duplicate module description of %s, '
|
||||||
'other instance in %s, use :noindex: for one of them' %
|
'other instance in %s, use :noindex: for one of them' %
|
||||||
(modname, self.env.doc2path(modules[modname])),
|
(modname, env.doc2path(modules[modname][0])),
|
||||||
line=self.lineno)
|
line=self.lineno)
|
||||||
modules[modname] = (env.docname,
|
modules[modname] = (env.docname,
|
||||||
self.options.get('synopsis', ''),
|
self.options.get('synopsis', ''),
|
||||||
|
Loading…
Reference in New Issue
Block a user