mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix numfig got error if table without title exists
This commit is contained in:
parent
5046abbaee
commit
0d28a95f85
@ -1747,7 +1747,7 @@ class BuildEnvironment:
|
||||
continue
|
||||
|
||||
figtype = get_figtype(subnode)
|
||||
if figtype:
|
||||
if figtype and subnode['ids']:
|
||||
register_fignumber(docname, secnum,
|
||||
figtype, subnode['ids'][0])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user