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 c83e0fc commit 1832816Copy full SHA for 1832816
docs/conf.py
@@ -245,7 +245,10 @@ def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
245
# Fix for sphinx-inline-tabs#18
246
if app.builder.format == "html" and not exc:
247
tabs_js = Path(app.builder.outdir) / "_static" / "tabs.js"
248
- tabs_js.unlink(missing_ok=True)
+ try:
249
+ tabs_js.unlink() # use missing_ok=True when python 3.7 deprecated
250
+ except FileNotFoundError:
251
+ pass
252
253
254
def setup(app: "Sphinx") -> None:
0 commit comments