Skip to content

Commit

Permalink
Make the airflow sphinx theme as parallel safe (#572)
Browse files Browse the repository at this point in the history
This lets us run the sphinx-build with multiple workers  -- otherwise
sphinx will fallback to sequential mode.
  • Loading branch information
ashb authored Apr 5, 2022
1 parent 583f412 commit 752ba8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from os import path
from sphinx.application import Sphinx

__version__ = '0.0.6'
__version__ = '0.0.7'
__version_full__ = __version__


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

0 comments on commit 752ba8c

Please sign in to comment.