Skip to content

Commit 4db8987

Browse files
committed
docs/conf: add typing.BinaryIO, again
This fixes docs failing to build on readthedocs.org. /home/docs/checkouts/readthedocs.org/user_builds/pybricksdev/checkouts/latest/pybricksdev/firmware.py:docstring of pybricksdev.firmware.create_firmware_blob:: WARNING: py:class reference target not found: BinaryIO
1 parent d4315f9 commit 4db8987

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
("py:obj", "typing.Union"),
7171
("py:class", "os.PathLike"),
7272
("py:obj", "typing.BinaryIO"),
73+
("py:class", "BinaryIO"), # yes, we need both!
7374
]
7475

7576
add_module_names = False

0 commit comments

Comments
 (0)