Skip to content

Commit

Permalink
Merge pull request #154 from djhoese/patch-1
Browse files Browse the repository at this point in the history
Keep intersphinx objects.inv after build
  • Loading branch information
philippjfr authored Dec 13, 2019
2 parents 6ce0713 + 891ef24 commit 6afce45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbsite/tests/test_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def test_build_deletes_by_default(tmp_project_with_docs_skeleton):
build('html', str(project / "builtdocs"), project_root=str(project), examples_assets='')
assert not (project / "builtdocs" / ".doctrees").is_dir()
assert (project / "builtdocs" / "First_Notebook.html").is_file()
assert len(list((project / "builtdocs").iterdir())) == 9
assert len(list((project / "builtdocs").iterdir())) == 10

@pytest.mark.slow
def test_build_with_clean_dry_run_does_not_delete(tmp_project_with_docs_skeleton):
Expand Down
2 changes: 1 addition & 1 deletion scripts/nbsite_cleandisthtml.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def IGetFiles(d):
except:
pass

for file_ in ("objects.inv",):
for file_ in ():
f = os.path.join(htmldir,file_)
try:
if dry_run:
Expand Down

0 comments on commit 6afce45

Please sign in to comment.