Skip to content

Commit

Permalink
declare parallel safe
Browse files Browse the repository at this point in the history
Fixes dask#78

the upstream theme is also parallel safe
this theme doesn't add any event handlers so must also be safe

executablebooks/sphinx-book-theme#225
  • Loading branch information
graingert committed Mar 22, 2023
1 parent 1ea507a commit 987ff5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dask_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ def get_html_theme_path():
# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
def setup(app):
app.add_html_theme("dask_sphinx_theme", path.abspath(path.dirname(__file__)))
return {
"parallel_read_safe": True,
"parallel_write_safe": True,
}

0 comments on commit 987ff5a

Please sign in to comment.