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:
authorJames McKinney <26463+jpmckinney@users.noreply.github.com>2019-11-23 01:02:59 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-15 19:38:22 +0300
commit2f768cf5a745edf908b7b2e37f21b9e07660a52a (patch)
treecbfd12531bd27d75258ac458236ad6b4aa84030d /sphinx/errors.py
parent876fd40ceabe2a48616d8fe3422a7d63139820da (diff)
Fix #6855: Non-RST translated text should be parsed by the appropriate parser
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py
index 7f8b1fbd5..64036721f 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -126,3 +126,8 @@ class PycodeError(Exception):
class NoUri(Exception):
"""Raised by builder.get_relative_uri() if there is no URI available."""
pass
+
+
+class FiletypeNotFoundError(Exception):
+ "Raised by get_filetype() if a filename matches no source suffix."
+ pass