Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-17 20:24:35 +0300
committerGeorg Brandl <georg@python.org>2010-01-17 20:24:35 +0300
commit5a9a454631ff9e68cf1827ba1a9582a993dca8db (patch)
treefc4e18113c037d1ba74e6996f613e90e42fb5d37 /sphinx/errors.py
parent31c5290fb8ffa8ff66ec30f5c8ac32c0fd31fbdb (diff)
Added ``needs_sphinx`` config value and ``Sphinx.require_sphinx`` application API function.
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py4
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'