From ad2c5a46059c43e53d61ce77b2fd5da60342c7f8 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 19 Jan 2022 19:20:36 +0000 Subject: [PATCH] Cap the version `Sphinx` below 4.4.0 (#775) Cap the version `Sphinx` below 4.4.0 The latest version of sphinx was causing the following errors, and therefore is being capped to version prior to the version causing the errors. /home/docs/checkouts/readthedocs.org/user_builds/ansible-navigator/checkouts/774/docs/changelog.md:16: WARNING: hardcoded link 'https://github.com/twisted/towncrier' could be replaced by an extlink (try using ':gh:`twisted/towncrier`' instead) /home/docs/checkouts/readthedocs.org/user_builds/ansible-navigator/checkouts/774/docs/installation.md:3: WARNING: hardcoded link 'https://github.com/containers/podman/issues/8016' could be replaced by an extlink (try using ':gh:`containers/podman/issues/8016`' instead) Detailed information about the changes introduced in sphinx causing the errors can be found here: Related: sphinx-doc/sphinx#10112 The following issue was created to revert this PR once the sphinx error is fixed or can be avoided: See #776 Reviewed-by: Bradley A. Thornton Reviewed-by: None Reviewed-by: Sviatoslav Sydorenko --- docs/requirements.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.in b/docs/requirements.in index 62d0e2369..44a1e6a5a 100644 --- a/docs/requirements.in +++ b/docs/requirements.in @@ -1,6 +1,6 @@ myst-parser[linkify] >= 0.15.1 setuptools-scm >= 6.0.1 -Sphinx >= 4.1.2 +Sphinx >= 4.1.2, < 4.4.0 # https://github.com/sphinx-doc/sphinx/issues/10112 sphinx-ansible-theme >= 0.8.0 sphinx-copybutton >= 0.4.0 sphinx-notfound-page >= 0.7.1