docs: adjust sphinx to flask 2

* Add werkzeug to intersphinx for additional type hints
* Describe type hints in bullet points rather than function signatures
* Remove 'warnings as errors' flag from documentation building, as some type hints aren't resolved properly and result in a warning
This commit is contained in:
Mojib
2021-11-03 11:52:17 +01:00
committed by Mojib Wali
parent 35854691bd
commit 41dcb8f437
3 changed files with 5 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ extras_require = {
"postgresql": [f"invenio-db[postgresql,versioning]{invenio_db_version}"],
"sqlite": [f"invenio-db[versioning]{invenio_db_version}"],
"docs": [
"Sphinx>=3,<3.4.2",
"Sphinx==4.2.0",
],
"tests": tests_require,
}