Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: ^doc/static/
exclude: ^doc/static/|\.patch$
- id: end-of-file-fixer
exclude: ^doc/static/
- id: check-yaml
Expand Down
1 change: 1 addition & 0 deletions dfetch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ manifest:
patch:
- doc/_ext/patches/001-autoformat-sphinxcontrib.asciinema.patch
- doc/_ext/patches/002-fix-options-sphinxcontrib.asciinema.patch
- doc/_ext/patches/003-only-handle-html-sphinxcontrib.asciinema.patch

- name: inter-font
remote: github
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff --git a/asciinema.py b/asciinema.py
index 44dad260..be82899a 100644
--- a/asciinema.py
+++ b/asciinema.py
@@ -10,6 +10,8 @@ logger = logging.getLogger(__name__)


def copy_asset_files(app, exc):
+ if app.builder.format != "html":
+ return
asset_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "_static")
if exc is None: # build succeeded
for file in os.listdir(asset_dir):
@@ -83,7 +85,6 @@ def visit_html(self, node):


def visit_unsupported(self, node):
- logger.warning("asciinema: unsupported output format (node skipped)")
raise nodes.SkipNode


@@ -177,6 +178,7 @@ class ASCIINemaDirective(SphinxDirective):

_NODE_VISITORS = {
"html": (visit_html, depart),
+ "epub": (visit_unsupported, None),
"latex": (visit_unsupported, None),
"man": (visit_unsupported, None),
"texinfo": (visit_unsupported, None),
5 changes: 3 additions & 2 deletions doc/_ext/sphinxcontrib_asciinema/.dfetch_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# For more info see https://dfetch.rtfd.io/en/latest/getting_started.html
dfetch:
branch: master
hash: dcd1473e1a3ca613b804e3e51e7ee342
last_fetch: 22/03/2026, 19:52:31
hash: c0665300cd7962033a3caafa7fc302e7
last_fetch: 20/04/2026, 21:23:20
patch:
- doc/_ext/patches/001-autoformat-sphinxcontrib.asciinema.patch
- doc/_ext/patches/002-fix-options-sphinxcontrib.asciinema.patch
- doc/_ext/patches/003-only-handle-html-sphinxcontrib.asciinema.patch
remote_url: https://github.com/divi255/sphinxcontrib.asciinema.git
revision: 5ee0c5be62236a5dee0032e1d8dd59957a0c1d4c
tag: ''
4 changes: 2 additions & 2 deletions doc/static/fonts/font-awesome/.dfetch_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
dfetch:
branch: ''
hash: 853448351c1e332e9af3a8683fe927cd
last_fetch: 30/03/2026, 21:36:21
last_fetch: 20/04/2026, 21:25:26
patch: ''
remote_url: https://github.com/FortAwesome/Font-Awesome/releases/download/7.2.0/fontawesome-free-7.2.0-web.zip
revision: https://github.com/FortAwesome/Font-Awesome/releases/download/7.2.0/fontawesome-free-7.2.0-web.zip
revision: sha256:218d19fdec1bd898d1c78683f3c72e71bcc9e5f9bb3e065f99a5c3cdc48e0d66
tag: ''
4 changes: 2 additions & 2 deletions doc/static/fonts/inter/.dfetch_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
dfetch:
branch: ''
hash: 428a1aa8c0009c0c0583bbb49edd99b7
last_fetch: 29/03/2026, 18:08:23
last_fetch: 20/04/2026, 21:25:15
patch: ''
remote_url: https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip
revision: https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip
revision: sha256:9883fdd4a49d4fb66bd8177ba6625ef9a64aa45899767dde3d36aa425756b11e
tag: ''
Loading