Browse Source

make documentation sphinx 3.x compatible

pull/6176/head
Riley Shaw 5 years ago
committed by Rapptz
parent
commit
ad694d8348
  1. 3
      docs/extensions/attributetable.py

3
docs/extensions/attributetable.py

@ -107,7 +107,8 @@ def build_lookup_table(env):
ignored = {
'data', 'exception', 'module', 'class',
}
for (fullname, (docname, objtype)) in domain.objects.items():
for (fullname, _, objtype, docname, _, _) in domain.get_objects():
if objtype in ignored:
continue

Loading…
Cancel
Save