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.
5
5
## Unreleased
6
6
7
7
- Allow to add content to directive.
8
+ - Fix Sphinx warnings about parallel reads.
8
9
9
10
## 1.13.1
10
11
Original file line number Diff line number Diff line change 2
2
3
3
from __future__ import annotations
4
4
5
- from typing import TYPE_CHECKING
5
+ from typing import TYPE_CHECKING , Any
6
6
7
7
from .version import __version__
8
8
9
9
if TYPE_CHECKING :
10
10
from sphinx .application import Sphinx
11
11
12
12
13
- def setup (app : Sphinx ) -> None :
13
+ def setup (app : Sphinx ) -> dict [ str , Any ] :
14
14
app .add_css_file ("custom.css" )
15
15
16
16
from ._logic import SphinxArgparseCli
17
17
18
18
app .add_directive (SphinxArgparseCli .name , SphinxArgparseCli )
19
19
app .add_config_value ("sphinx_argparse_cli_prefix_document" , False , "env" ) # noqa: FBT003
20
20
21
+ return {"parallel_read_safe" : True }
22
+
21
23
22
24
__all__ = [
23
25
"__version__" ,
You can’t perform that action at this time.
0 commit comments