Skip to content

Commit

Permalink
docs(conf): remove_tabs_js, handle missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jun 10, 2023
1 parent 4681506 commit 1f478ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
# Fix for sphinx-inline-tabs#18
if app.builder.format == "html" and not exc:
tabs_js = Path(app.builder.outdir) / "_static" / "tabs.js"
tabs_js.unlink()
tabs_js.unlink(missing_ok=True)


def setup(app: "Sphinx") -> None:
Expand Down

0 comments on commit 1f478ab

Please sign in to comment.