Skip to content

Commit f8bac02

Browse files
committed
Update sphinx-contrib patch
1 parent 9aa9d17 commit f8bac02

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

doc/_ext/patches/003-only-handle-html-sphinxcontrib.asciinema.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ index 44dad260..be82899a 100644
33
--- a/asciinema.py
44
+++ b/asciinema.py
55
@@ -10,6 +10,8 @@ logger = logging.getLogger(__name__)
6-
7-
6+
7+
88
def copy_asset_files(app, exc):
99
+ if app.builder.format != "html":
1010
+ return
1111
asset_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "_static")
1212
if exc is None: # build succeeded
1313
for file in os.listdir(asset_dir):
1414
@@ -83,7 +85,6 @@ def visit_html(self, node):
15-
16-
15+
16+
1717
def visit_unsupported(self, node):
1818
- logger.warning("asciinema: unsupported output format (node skipped)")
1919
raise nodes.SkipNode
20-
21-
20+
21+
2222
@@ -177,6 +178,7 @@ class ASCIINemaDirective(SphinxDirective):
23-
23+
2424
_NODE_VISITORS = {
2525
"html": (visit_html, depart),
2626
+ "epub": (visit_unsupported, None),

doc/_ext/sphinxcontrib_asciinema/.dfetch_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
dfetch:
44
branch: master
55
hash: c0665300cd7962033a3caafa7fc302e7
6-
last_fetch: 20/04/2026, 21:23:20
6+
last_fetch: 10/05/2026, 20:00:50
77
patch:
88
- doc/_ext/patches/001-autoformat-sphinxcontrib.asciinema.patch
99
- doc/_ext/patches/002-fix-options-sphinxcontrib.asciinema.patch

0 commit comments

Comments
 (0)