Skip to content

Commit f7b0f86

Browse files
Write more granular tests (#36)
1 parent c20bb7e commit f7b0f86

File tree

2 files changed

+305
-152
lines changed

2 files changed

+305
-152
lines changed

.github/doc/doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def copy_existing_versions(gh_pages: Path, docs: Path):
3939
def generate_docs(build: Path, docs: Path, git_ref: str, redirect_template: Path):
4040
"""Generate documentation for the given Git reference."""
4141
print(f"Generating docs for {git_ref}...")
42-
run_cmd(f"git checkout {git_ref}")
42+
run_cmd(f"git checkout {git_ref} --")
4343
run_cmd(f"cargo doc --no-deps --target-dir={build}")
4444

4545
(docs / git_ref).mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)