We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99431ee commit 1a38f5aCopy full SHA for 1a38f5a
2 files changed
docs/conf.py
@@ -78,7 +78,9 @@
78
79
autodoc_typehints_description_target = "documented"
80
81
-# Workaround for https://github.com/sphinx-doc/sphinx/issues/9560
+# Workaround for https://github.com/sphinx-doc/sphinx/issues/9560 (fixed)
82
+# but still needed due to https://github.com/sphinx-doc/sphinx/pull/14171
83
+# See reference/types.rst for details.
84
from sphinx.domains.python import PythonDomain # noqa: E402
85
86
docs/reference/types.rst
@@ -1,6 +1,10 @@
1
Types
2
=====
3
4
+.. Switch to autotype once https://github.com/sphinx-doc/sphinx/pull/14171
5
+.. is merged; or after dropping support for Python < 3.12 and switching to
6
+.. the type statement.
7
+
8
.. automodule:: websockets.typing
9
10
.. autodata:: Data
0 commit comments