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.
parallel_read_safe
1 parent 2dcc8f9 commit 7649798Copy full SHA for 7649798
doc/development/tutorials/examples/autodoc_intenum.py
@@ -9,6 +9,7 @@
9
from docutils.statemachine import StringList
10
11
from sphinx.application import Sphinx
12
+ from sphinx.util.typing import ExtensionMetadata
13
14
15
class IntEnumDocumenter(ClassDocumenter):
@@ -52,6 +53,10 @@ def add_content(
52
53
self.add_line('', source_name)
54
55
-def setup(app: Sphinx) -> None:
56
+def setup(app: Sphinx) -> ExtensionMetadata:
57
app.setup_extension('sphinx.ext.autodoc') # Require autodoc extension
58
app.add_autodocumenter(IntEnumDocumenter)
59
+ return {
60
+ 'version': '1',
61
+ 'parallel_read_safe': True,
62
+ }
0 commit comments