You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2022/04/05 13:07:18 UTC
[airflow-site] branch main updated: Make the airflow sphinx theme as parallel safe (#572)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 752ba8ce5 Make the airflow sphinx theme as parallel safe (#572)
752ba8ce5 is described below
commit 752ba8ce5654647034ee44820ed8f31a106c4141
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Tue Apr 5 14:07:13 2022 +0100
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.
---
sphinx_airflow_theme/sphinx_airflow_theme/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
index bce469684..fec4796bf 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
@@ -18,7 +18,7 @@
from os import path
from sphinx.application import Sphinx
-__version__ = '0.0.6'
+__version__ = '0.0.7'
__version_full__ = __version__
@@ -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}