We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4367487 commit 7ea3428Copy full SHA for 7ea3428
docs/conf.py
@@ -253,7 +253,10 @@ def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
253
# Fix for sphinx-inline-tabs#18
254
if app.builder.format == "html" and not exc:
255
tabs_js = Path(app.builder.outdir) / "_static" / "tabs.js"
256
- tabs_js.unlink(missing_ok=True)
+ try:
257
+ tabs_js.unlink() # When python 3.7 deprecated, use missing_ok=True
258
+ except FileNotFoundError:
259
+ pass
260
261
262
def setup(app: "Sphinx") -> None:
0 commit comments