From 8eff203b304cf384d5fccb30bee37f15e6b3b0bf Mon Sep 17 00:00:00 2001 From: Arash Rouhani Date: Wed, 13 Jul 2016 10:28:38 +0700 Subject: [PATCH] docs: Set minimum versions for sphinx I saw that the build was failing, hence this is my attempt to fix it, altough I don't know how to test this before merging it. See https://readthedocs.org/projects/luigi/builds/4189801/ Unfortunately I couldn't find a way to connect a webhook between GitHub PRs and readthedocs: https://github.com/rtfd/readthedocs.org/issues/1340 The reason I believe a version bump would fix it is because I see exactly the same error as in sphinx-doc/sphinx#2465 and readthedocs seem to use 1.3.5, causing the pdf docs to be outdated. --- doc/conf.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 13cec2cec7..2ed9ba3a42 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -82,7 +82,7 @@ def _warn_node(self, msg, node, *args, **kwargs): # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' +needs_sphinx = '1.4.4' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom diff --git a/tox.ini b/tox.ini index cc55b325a0..f7c2019531 100644 --- a/tox.ini +++ b/tox.ini @@ -87,7 +87,7 @@ commands = isort -w 120 -rc luigi test examples bin # Call this using `tox -e docs`. deps = sqlalchemy - Sphinx==1.4.2 + Sphinx>=1.4.4<1.5 sphinx_rtd_theme commands = # build API docs