mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#484: Fix crash when duplicating a parameter in an info field list.
Problem was that the :type: info nodes were inserted twice into the doctree, which led to inconsistencies when reference nodes were resolved.
This commit is contained in:
@@ -62,6 +62,8 @@ Testing object descriptions
|
||||
:ivar int hour: like *hour*
|
||||
:ivar minute: like *minute*
|
||||
:vartype minute: int
|
||||
:param hour: Duplicate param. Should not lead to crashes.
|
||||
:type hour: Duplicate type.
|
||||
|
||||
|
||||
C items
|
||||
|
||||
@@ -38,7 +38,7 @@ http://www.python.org/logo.png
|
||||
reading included file u'wrongenc.inc' seems to be wrong, try giving an \
|
||||
:encoding: option\\n?
|
||||
%(root)s/includes.txt:4: WARNING: download file not readable: nonexisting.png
|
||||
%(root)s/objects.txt:84: WARNING: using old C markup; please migrate to \
|
||||
%(root)s/objects.txt:86: WARNING: using old C markup; please migrate to \
|
||||
new-style markup \(e.g. c:function instead of cfunction\), see \
|
||||
http://sphinx.pocoo.org/domains.html
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user