diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-10-06 18:40:36 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-10-06 18:40:36 +0900 |
commit | 73a93f897e645d065ab67d384d561bb5a0a8ba7c (patch) | |
tree | a5a2631ab91fdf745485377d877b97bf700ce57b /sphinx/io.py | |
parent | e8963e84ed593461825a4fbcc7077b4f53a65e04 (diff) | |
parent | 94a097999c15eefeec65d6eab486aadbe05aefff (diff) | |
download | sphinx-git-73a93f897e645d065ab67d384d561bb5a0a8ba7c.tar.gz |
Merge branch '2.2.1' into 2.0
Diffstat (limited to 'sphinx/io.py')
-rw-r--r-- | sphinx/io.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/io.py b/sphinx/io.py index 419657e02..fa4437b3e 100644 --- a/sphinx/io.py +++ b/sphinx/io.py @@ -330,10 +330,10 @@ def read_doc(app, env, filename): # Sphinx-1.8 style source = input_class(app, env, source=None, source_path=filename, # type: ignore encoding=env.config.source_encoding) - pub = Publisher(reader=reader, # type: ignore + pub = Publisher(reader=reader, parser=parser, writer=SphinxDummyWriter(), - source_class=SphinxDummySourceClass, + source_class=SphinxDummySourceClass, # type: ignore destination=NullOutput()) pub.process_programmatic_settings(None, env.settings, None) pub.set_source(source, filename) |