mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix py domain: TypeError has been raised for class attribute (ref: #5426)
This commit is contained in:
parent
a2748f787c
commit
2f4047af78
1
CHANGES
1
CHANGES
@ -33,6 +33,7 @@ Bugs fixed
|
||||
* #5453: PDF builds of 'howto' documents have no page numbers
|
||||
* #5463: mathbase: math_role and MathDirective was disappeared in 1.8.0
|
||||
* #5454: latex: Index has disappeared from PDF for Japanese documents
|
||||
* #5426: py domain: TypeError has been raised for class attribute
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -318,7 +318,8 @@ class DocFieldTransformer(object):
|
||||
fieldbody.children[0].extend(xrefs)
|
||||
else:
|
||||
fieldbody.clear()
|
||||
fieldbody.extend(xrefs)
|
||||
fieldbody += nodes.paragraph()
|
||||
fieldbody[0].extend(xrefs)
|
||||
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user