mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-07 13:54:45 +03:00
add BytesIO alias to fix missing references in docs
This commit is contained in:
parent
4aa3341d9a
commit
23b3e92a3e
|
@ -40,6 +40,11 @@ extensions = [
|
|||
|
||||
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
|
||||
|
||||
# io.BytesIO is incorrectly converted to _io.BytesIO, this alias prevents that
|
||||
autodoc_type_aliases = {
|
||||
"BytesIO": "~io.BytesIO",
|
||||
}
|
||||
|
||||
# The suffix(es) of source filenames.
|
||||
# You can specify multiple suffix as a list of string:
|
||||
# source_suffix = ['.rst', '.md']
|
||||
|
|
Loading…
Reference in New Issue
Block a user