diff --git a/doc/make.py b/doc/make.py index eb4a33a569c5a..bc458d6b53cb0 100755 --- a/doc/make.py +++ b/doc/make.py @@ -121,8 +121,6 @@ def _sphinx_build(self, kind): raise ValueError('kind must be html or latex, ' 'not {}'.format(kind)) - self.clean() - cmd = ['sphinx-build', '-b', kind] if self.num_jobs: cmd += ['-j', str(self.num_jobs)]