From 4a8693aa44138ea4da6d4088f6e273a3256ff876 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Mon, 27 Mar 2023 19:52:23 +0100 Subject: [PATCH] Build documentation with Sphinx 6 (#11904) --- docs/html/getting-started.md | 2 +- docs/requirements.txt | 2 +- noxfile.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/html/getting-started.md b/docs/html/getting-started.md index 0967b0eb9..2b3f0bc93 100644 --- a/docs/html/getting-started.md +++ b/docs/html/getting-started.md @@ -98,5 +98,5 @@ Successfully uninstalled sampleproject ## Next Steps 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 ` tutorial on packaging.python.org. diff --git a/docs/requirements.txt b/docs/requirements.txt index fa3a7390c..ef72c8fb7 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -sphinx ~= 4.2, != 4.4.0 +sphinx ~= 6.0 towncrier furo myst_parser diff --git a/noxfile.py b/noxfile.py index 5c4683b7d..565a50399 100644 --- a/noxfile.py +++ b/noxfile.py @@ -133,6 +133,7 @@ def docs(session: nox.Session) -> None: # fmt: off return [ "sphinx-build", + "--keep-going", "-W", "-c", "docs/html", # see note above "-d", "docs/build/doctrees/" + kind,