Skip to content

Commit 752ba8c

Browse files
authored
Make the airflow sphinx theme as parallel safe (#572)
This lets us run the sphinx-build with multiple workers -- otherwise sphinx will fallback to sequential mode.
1 parent 583f412 commit 752ba8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sphinx_airflow_theme/sphinx_airflow_theme/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from os import path
1919
from sphinx.application import Sphinx
2020

21-
__version__ = '0.0.6'
21+
__version__ = '0.0.7'
2222
__version_full__ = __version__
2323

2424

@@ -38,3 +38,4 @@ def setup(app: Sphinx):
3838
app.add_html_theme('sphinx_airflow_theme', path.abspath(path.dirname(__file__)))
3939
app.add_css_file('_gen/css/main-custom.min.css')
4040
app.connect("config-inited", setup_my_func)
41+
return {"version": "__version__", "parallel_read_safe": True, "parallel_write_safe": True}

0 commit comments

Comments
 (0)