summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 319abcf3a..56096c1b6 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -148,16 +148,12 @@ class BuildDoc(Command):
if self.build_dir is None:
build = self.get_finalized_command('build')
self.build_dir = os.path.join(abspath(build.build_base), 'sphinx') # type: ignore
- self.mkpath(self.build_dir) # type: ignore
self.doctree_dir = os.path.join(self.build_dir, 'doctrees')
- self.mkpath(self.doctree_dir) # type: ignore
self.builder_target_dirs = [
(builder, os.path.join(self.build_dir, builder))
for builder in self.builder] # type: List[Tuple[str, unicode]]
- for _, builder_target_dir in self.builder_target_dirs:
- self.mkpath(builder_target_dir) # type: ignore
def run(self):
# type: () -> None