Build documentation with Sphinx 6 (#11904)

This commit is contained in:
Pradyun Gedam 2023-03-27 19:52:23 +01:00 committed by GitHub
parent 21a0e0eff5
commit 4a8693aa44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -98,5 +98,5 @@ Successfully uninstalled sampleproject
## Next Steps ## Next Steps
It is recommended to learn about what virtual environments are and how to use It is recommended to learn about what virtual environments are and how to use
them. This is covered in the ["Installing Packages"](pypug:tutorials/installing-packages) them. This is covered in the {doc}`Installing Packages <pypug:tutorials/installing-packages>`
tutorial on packaging.python.org. tutorial on packaging.python.org.

View File

@ -1,4 +1,4 @@
sphinx ~= 4.2, != 4.4.0 sphinx ~= 6.0
towncrier towncrier
furo furo
myst_parser myst_parser

View File

@ -133,6 +133,7 @@ def docs(session: nox.Session) -> None:
# fmt: off # fmt: off
return [ return [
"sphinx-build", "sphinx-build",
"--keep-going",
"-W", "-W",
"-c", "docs/html", # see note above "-c", "docs/html", # see note above
"-d", "docs/build/doctrees/" + kind, "-d", "docs/build/doctrees/" + kind,