From 5a9a454631ff9e68cf1827ba1a9582a993dca8db Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 17 Jan 2010 18:24:35 +0100 Subject: Added ``needs_sphinx`` config value and ``Sphinx.require_sphinx`` application API function. --- sphinx/errors.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sphinx/errors.py') diff --git a/sphinx/errors.py b/sphinx/errors.py index 4e62b1af1..4738f0cce 100644 --- a/sphinx/errors.py +++ b/sphinx/errors.py @@ -50,3 +50,7 @@ class ConfigError(SphinxError): class ThemeError(SphinxError): category = 'Theme error' + + +class VersionRequirementError(SphinxError): + category = 'Sphinx version error' -- cgit v1.2.1