Browse Source

Fix build issue on Sphinx v6

pull/10109/head
Alex Liu 2 years ago
committed by dolfies
parent
commit
3a8a35a2b2
  1. 2
      docs/conf.py
  2. 1
      docs/migrating.rst

2
docs/conf.py

@ -51,7 +51,7 @@ autodoc_typehints = 'none'
# napoleon_attr_annotations = False
extlinks = {
'issue': ('https://github.com/dolfies/discord.py-self/issues/%s', 'GH-'),
'issue': ('https://github.com/dolfies/discord.py-self/issues/%s', 'GH-%s'),
'ddocs': ('https://discord.com/developers/docs/%s', None),
}

1
docs/migrating.rst

@ -924,7 +924,6 @@ using `bool` on them will now only return ``True`` if at least one flag is enabl
This means that evaluating instances of the following classes in a bool context (such as ``if obj:``) may no longer return ``True``:
- :class:`Intents`
- :class:`MemberCacheFlags`
- :class:`MessageFlags`
- :class:`Permissions`

Loading…
Cancel
Save