diff options
author | Georg Brandl <georg@python.org> | 2010-01-17 20:24:35 +0300 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-01-17 20:24:35 +0300 |
commit | 5a9a454631ff9e68cf1827ba1a9582a993dca8db (patch) | |
tree | fc4e18113c037d1ba74e6996f613e90e42fb5d37 /sphinx/errors.py | |
parent | 31c5290fb8ffa8ff66ec30f5c8ac32c0fd31fbdb (diff) |
Added ``needs_sphinx`` config value and ``Sphinx.require_sphinx`` application API function.
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r-- | sphinx/errors.py | 4 |
1 files changed, 4 insertions, 0 deletions
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' |