File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55## Unreleased
66
77- Allow to add content to directive.
8+ - Fix Sphinx warnings about parallel reads.
89
910## 1.13.1
1011
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5- from typing import TYPE_CHECKING
5+ from typing import TYPE_CHECKING , Any
66
77from .version import __version__
88
99if TYPE_CHECKING :
1010 from sphinx .application import Sphinx
1111
1212
13- def setup (app : Sphinx ) -> None :
13+ def setup (app : Sphinx ) -> dict [ str , Any ] :
1414 app .add_css_file ("custom.css" )
1515
1616 from ._logic import SphinxArgparseCli
1717
1818 app .add_directive (SphinxArgparseCli .name , SphinxArgparseCli )
1919 app .add_config_value ("sphinx_argparse_cli_prefix_document" , False , "env" ) # noqa: FBT003
2020
21+ return {"parallel_read_safe" : True }
22+
2123
2224__all__ = [
2325 "__version__" ,
You can’t perform that action at this time.
0 commit comments