Skip to content

Commit

Permalink
allow parallel builds (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend authored Mar 26, 2024
1 parent 61a1256 commit 3d5d1dc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion piccolo_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__VERSION__ = "0.20.0"


def setup(app: 'Sphinx'):
def setup(app: 'Sphinx') -> t.Dict:
"""
:param app:
Passed by Sphinx.
Expand All @@ -35,3 +35,13 @@ def setup(app: 'Sphinx'):
html_theme_options['source_icon'] = 'gitlab'
else:
html_theme_options['source_icon'] = 'git'

###########################################################################
# Return metadata
# https://www.sphinx-doc.org/en/master/extdev/index.html#extension-metadata

return {
"version": __VERSION__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}

0 comments on commit 3d5d1dc

Please sign in to comment.