File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,13 @@ sphinx:
16
16
# Optionally build your docs in additional formats such as PDF and ePub
17
17
formats : all
18
18
19
- # Optionally set the version of Python and requirements required to build your docs
19
+
20
+ build :
21
+ os : ubuntu-20.04
22
+ tools :
23
+ python : " 3.9"
24
+
20
25
python :
21
- version : 3.9
22
26
install :
23
27
- requirements : requirements.txt
24
28
- method : setuptools
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ This code will be executed
36
36
```
37
37
38
38
# Changelog
39
+ #### 0.5 (10.03.2022)
40
+ - Marked as safe for parallel reading
41
+
39
42
#### 0.4 (09.03.2022)
40
43
- Added option to run code from example files
41
44
Original file line number Diff line number Diff line change 1
- __version__ = '0.4 '
1
+ __version__ = '0.5 '
Original file line number Diff line number Diff line change @@ -81,4 +81,11 @@ def setup(app):
81
81
app .add_directive ('exec_code' , ExecCode )
82
82
83
83
log .debug (f'[exec-code] Version: { __version__ } ' )
84
- return {'version' : __version__ }
84
+
85
+ return {
86
+ 'version' : __version__ ,
87
+
88
+ # https://github.com/spacemanspiff2007/sphinx-exec-code/issues/2
89
+ # This extension does not store any states so it should be safe for parallel reading
90
+ 'parallel_read_safe' : True
91
+ }
You can’t perform that action at this time.
0 commit comments