actually use exception markup

This commit is contained in:
Georg Brandl
2014-01-21 10:04:11 +01:00
parent da09100869
commit cc8d29dcab

View File

@@ -547,7 +547,7 @@ Exceptions
.. module:: sphinx.errors .. module:: sphinx.errors
.. class:: SphinxError .. exception:: SphinxError
This is the base class for "nice" exceptions. When such an exception is 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 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 to a string ("category: message"). Should be set accordingly in
subclasses. subclasses.
.. class:: ConfigError .. exception:: ConfigError
Used for erroneous values or nonsensical combinations of configuration Used for erroneous values or nonsensical combinations of configuration
values. values.
.. class:: ExtensionError .. exception:: ExtensionError
Used for errors in setting up extensions. Used for errors in setting up extensions.
.. class:: ThemeError .. exception:: ThemeError
Used for errors to do with themes. Used for errors to do with themes.
.. class:: VersionRequirementError .. exception:: VersionRequirementError
Raised when the docs require a higher Sphinx version than the current one. Raised when the docs require a higher Sphinx version than the current one.