diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-07 01:04:37 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-07 23:24:39 +0900 |
commit | 534583cfa65c00143fa221533c29b2e0b2f54e05 (patch) | |
tree | a8adb207ed949cd49ec24e761bbc98342bb6894d /sphinx/io.py | |
parent | 4493d7bf07ab62040e4c525e6007e6cc57af6a3a (diff) | |
download | sphinx-git-534583cfa65c00143fa221533c29b2e0b2f54e05.tar.gz |
Skip meaningless publisher.set_components() call
"parser" component is already passed on initialization. So it is
not needed to call `set_components()` method.
Diffstat (limited to 'sphinx/io.py')
-rw-r--r-- | sphinx/io.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sphinx/io.py b/sphinx/io.py index 89d2bc209..6e0abfabe 100644 --- a/sphinx/io.py +++ b/sphinx/io.py @@ -307,7 +307,6 @@ def read_doc(app, env, filename): writer=SphinxDummyWriter(), source_class=SphinxDummySourceClass, destination=NullOutput()) - pub.set_components(None, 'restructuredtext', None) pub.process_programmatic_settings(None, env.settings, None) pub.set_source(source, filename) pub.publish() |