Skip to content

Commit

Permalink
DOC: Handle whitespace in pathnames (#20880)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiviyanT authored and jorisvandenbossche committed Sep 26, 2018
1 parent a03d953 commit 7343fd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ def _sphinx_build(self, kind):
'-b{}'.format(kind),
'-{}'.format(
'v' * self.verbosity) if self.verbosity else '',
'-d{}'.format(os.path.join(BUILD_PATH, 'doctrees')),
'-d"{}"'.format(os.path.join(BUILD_PATH, 'doctrees')),
'-Dexclude_patterns={}'.format(self.exclude_patterns),
SOURCE_PATH,
os.path.join(BUILD_PATH, kind))
'"{}"'.format(SOURCE_PATH),
'"{}"'.format(os.path.join(BUILD_PATH, kind)))

def _open_browser(self):
base_url = os.path.join('file://', DOC_PATH, 'build', 'html')
Expand Down

0 comments on commit 7343fd3

Please sign in to comment.