Skip to content

Commit 375af76

Browse files
author
Christian Knittl-Frank
committed
Declare parallel read safe
Fix #12
1 parent 5c2936a commit 375af76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sphinxcontrib/scm/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ def setup(app: Sphinx) -> dict[str, Any]:
2929
app.add_config_value(name="scm_contribs_type", default="author", rebuild="env")
3030
app.add_directive(name="scm-sectionauthor", cls=ContribsDirective)
3131
app.add_role(name="scm-contribs", role=ContribsRole())
32-
return {"version": ".".join(__version__.split(".")[:3])}
32+
return {
33+
"version": ".".join(__version__.split(".")[:3]),
34+
"parallel_read_safe": True,
35+
}

0 commit comments

Comments
 (0)