Skip to content

Commit 5b3d7b7

Browse files
committed
Merge pull request astropy#38 from Cadair/clean_api_dir
Set the api dir from the source dir variable
2 parents a0a587b + 526bc0d commit 5b3d7b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎astropy_helpers/setup_helpers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def initialize_options(self):
797797
def finalize_options(self):
798798
#Clear out previous sphinx builds, if requested
799799
if self.clean_docs:
800-
dirstorm = ['docs/api']
800+
dirstorm = [os.path.join(self.source_dir, 'api')]
801801
if self.build_dir is None:
802802
dirstorm.append('docs/_build')
803803
else:

0 commit comments

Comments
 (0)