]> git.ipfire.org Git - thirdparty/psycopg.git/commit
docs: fix build with sphinx 5.0
authorMartin Weinelt <hexa@darmstadt.ccc.de>
Mon, 18 Jul 2022 11:58:55 +0000 (13:58 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 18 Jul 2022 23:41:31 +0000 (00:41 +0100)
commit9a4d6bb091e26dc2bd53331f1afb8605820de00a
treedd6772ed8b2ce3994b6f3a2544dca15f36e6c11a
parentc133e92cbcd441d9d99732a93670d5c884ee8032
docs: fix build with sphinx 5.0

The `no_docstring` argument to `Documenter.add_content()` has been
deprecated in Sphinx 3.4.0 and removed in Sphinx 5.0.

This will not break compatibility with earlier versions, since the
`no_docstring` argument always carried a default value.

https://github.com/sphinx-doc/sphinx/blob/v4.2.0/sphinx/ext/autodoc/__init__.py#L601
https://github.com/sphinx-doc/sphinx/blob/v4.5.0/sphinx/ext/autodoc/__init__.py#L596
docs/lib/pg3_docs.py