summaryrefslogtreecommitdiff
path: root/doc/extdev
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-21 10:04:11 +0100
committerGeorg Brandl <georg@python.org>2014-01-21 10:04:11 +0100
commit9f20590a057191d28873ec6213b52757e6932771 (patch)
tree3891fe843268092bf935da9b51845f6a95fde8fa /doc/extdev
parent9739c13d6a88970d55347408e0ff134be6cb5daf (diff)
downloadsphinx-9f20590a057191d28873ec6213b52757e6932771.tar.gz
actually use exception markup
Diffstat (limited to 'doc/extdev')
-rw-r--r--doc/extdev/appapi.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/extdev/appapi.rst b/doc/extdev/appapi.rst
index 7769fbca..93822608 100644
--- a/doc/extdev/appapi.rst
+++ b/doc/extdev/appapi.rst
@@ -547,7 +547,7 @@ Exceptions
.. module:: sphinx.errors
-.. class:: SphinxError
+.. exception:: SphinxError
This is the base class for "nice" exceptions. When such an exception is
raised, Sphinx will abort the build and present the exception category and
@@ -566,19 +566,19 @@ Exceptions
to a string ("category: message"). Should be set accordingly in
subclasses.
-.. class:: ConfigError
+.. exception:: ConfigError
Used for erroneous values or nonsensical combinations of configuration
values.
-.. class:: ExtensionError
+.. exception:: ExtensionError
Used for errors in setting up extensions.
-.. class:: ThemeError
+.. exception:: ThemeError
Used for errors to do with themes.
-.. class:: VersionRequirementError
+.. exception:: VersionRequirementError
Raised when the docs require a higher Sphinx version than the current one.