diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-23 18:48:02 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-24 20:03:56 +0300 |
commit | 0cdd9ee72a5def1528d3f6a80622b26ae3cdacbc (patch) | |
tree | fbdb9b3cf70360716e5c692c9d70a0ac8f9329cf /sphinx/parsers.py | |
parent | 69f69628ed8e97f9e3caed3704aea2106477a2d8 (diff) |
Integrate source_suffix and source_parsers (refs: #4474)
Diffstat (limited to 'sphinx/parsers.py')
-rw-r--r-- | sphinx/parsers.py | 2 |
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', |