Skip to content

Commit b73762b

Browse files
committed
docs(conf): remove_tabs_js, handle missing file
1 parent c53964c commit b73762b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
245245
# Fix for sphinx-inline-tabs#18
246246
if app.builder.format == "html" and not exc:
247247
tabs_js = Path(app.builder.outdir) / "_static" / "tabs.js"
248-
tabs_js.unlink()
248+
tabs_js.unlink(missing_ok=True)
249249

250250

251251
def setup(app: "Sphinx") -> None:

0 commit comments

Comments
 (0)