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:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-23 18:48:02 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-24 20:03:56 +0300
commit0cdd9ee72a5def1528d3f6a80622b26ae3cdacbc (patch)
treefbdb9b3cf70360716e5c692c9d70a0ac8f9329cf /sphinx/parsers.py
parent69f69628ed8e97f9e3caed3704aea2106477a2d8 (diff)
Integrate source_suffix and source_parsers (refs: #4474)
Diffstat (limited to 'sphinx/parsers.py')
-rw-r--r--sphinx/parsers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/parsers.py b/sphinx/parsers.py
index 34822898f..3a009321e 100644
--- a/sphinx/parsers.py
+++ b/sphinx/parsers.py
@@ -91,7 +91,7 @@ class RSTParser(docutils.parsers.rst.Parser):
def setup(app):
# type: (Sphinx) -> Dict[unicode, Any]
- app.add_source_parser('*', RSTParser) # register as a special parser
+ app.add_source_parser('.rst', RSTParser)
return {
'version': 'builtin',