Skip to content

Commit

Permalink
Declare parallel read safe
Browse files Browse the repository at this point in the history
Fix #12
  • Loading branch information
Christian Knittl-Frank committed Dec 18, 2023
1 parent 5c2936a commit 375af76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sphinxcontrib/scm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ def setup(app: Sphinx) -> dict[str, Any]:
app.add_config_value(name="scm_contribs_type", default="author", rebuild="env")
app.add_directive(name="scm-sectionauthor", cls=ContribsDirective)
app.add_role(name="scm-contribs", role=ContribsRole())
return {"version": ".".join(__version__.split(".")[:3])}
return {
"version": ".".join(__version__.split(".")[:3]),
"parallel_read_safe": True,
}

0 comments on commit 375af76

Please sign in to comment.