mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
actually use exception markup
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user