mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-20 23:42:58 +00:00
make documentation sphinx 3.x compatible
This commit is contained in:
@@ -107,7 +107,8 @@ def build_lookup_table(env):
|
|||||||
ignored = {
|
ignored = {
|
||||||
'data', 'exception', 'module', 'class',
|
'data', 'exception', 'module', 'class',
|
||||||
}
|
}
|
||||||
for (fullname, (docname, objtype)) in domain.objects.items():
|
|
||||||
|
for (fullname, _, objtype, docname, _, _) in domain.get_objects():
|
||||||
if objtype in ignored:
|
if objtype in ignored:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user