Skip to content

Commit

Permalink
[spinx] Declare our extension as safe for parallel reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 30, 2023
1 parent f042cf5 commit 5af65e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/exts/pylint_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def builder_inited(app: Sphinx | None) -> None:
print_full_documentation(linter, stream, False)


def setup(app: Sphinx) -> dict[str, str]:
def setup(app: Sphinx) -> dict[str, str | bool]:
app.connect("builder-inited", builder_inited)
return {"version": sphinx.__display_version__}
return {"version": sphinx.__display_version__, "parallel_read_safe": True}


if __name__ == "__main__":
Expand Down

0 comments on commit 5af65e4

Please sign in to comment.