diff --git a/src/grg_sphinx_theme/__init__.py b/src/grg_sphinx_theme/__init__.py index 7ee9ff4..22416c7 100644 --- a/src/grg_sphinx_theme/__init__.py +++ b/src/grg_sphinx_theme/__init__.py @@ -9,14 +9,17 @@ except ImportError: pass + def get_html_theme_path(): """Return list of HTML theme paths.""" parent = Path(__file__).parent.resolve() theme_path = parent / "theme" / "grg_sphinx_theme" return theme_path + def setup(app): """Setup the Sphinx application for grg-sphinx-theme""" app.add_html_theme('grg_sphinx_theme', get_html_theme_path()) app.connect("html-page-context", header.add_navbar_functions) - app.connect("builder-inited", team.add_team_details) \ No newline at end of file + app.connect("builder-inited", team.add_team_details) + return {"parallel_read_safe": True, "parallel_write_safe": True}