Skip to content

Commit

Permalink
Enable parallel write (#317)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
marscher and pre-commit-ci[bot] committed Jan 26, 2023
1 parent d9c4a06 commit d931001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## 1.22

- Allow Sphinx explicitly to write in parallel.

## 1.21.7

- Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument
Expand Down
2 changes: 1 addition & 1 deletion src/sphinx_autodoc_typehints/__init__.py
Expand Up @@ -798,7 +798,7 @@ def setup(app: Sphinx) -> dict[str, bool]:
app.connect("autodoc-process-signature", process_signature)
app.connect("autodoc-process-docstring", process_docstring)
install_patches(app)
return {"parallel_read_safe": True}
return {"parallel_read_safe": True, "parallel_write_safe": True}


__all__ = [
Expand Down

0 comments on commit d931001

Please sign in to comment.