summaryrefslogtreecommitdiff
path: root/sphinx/io.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-10-06 18:40:36 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-10-06 18:40:36 +0900
commit73a93f897e645d065ab67d384d561bb5a0a8ba7c (patch)
treea5a2631ab91fdf745485377d877b97bf700ce57b /sphinx/io.py
parente8963e84ed593461825a4fbcc7077b4f53a65e04 (diff)
parent94a097999c15eefeec65d6eab486aadbe05aefff (diff)
downloadsphinx-git-73a93f897e645d065ab67d384d561bb5a0a8ba7c.tar.gz
Merge branch '2.2.1' into 2.0
Diffstat (limited to 'sphinx/io.py')
-rw-r--r--sphinx/io.py4
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)