Skip to content

Commit 1c11491

Browse files
committed
docs: update asciinema and fix mkdocs macros
Content-wise nothing has changed.
1 parent 974e067 commit 1c11491

File tree

5 files changed

+101
-674
lines changed

5 files changed

+101
-674
lines changed

demo.tape

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@
5454
# Display:
5555
# Hide Hide the subsequent commands from the output
5656
# Show Show the subsequent commands in the output
57+
#
58+
# FUTURE: Maybe try out the new "wait" feature.
59+
#
5760

5861
# Output demo.gif
59-
Output demo.webm
62+
# Output demo.webm
6063

6164
Require echo
6265
Require isd
@@ -74,11 +77,12 @@ Set FontSize 16
7477
Set Width 1280
7578
Set Height 720
7679

77-
# Should first run `./result/bin/generate-doc-test-data`.
80+
# Should first run `nix run ./result/bin/generate-doc-test-data`.
7881
Type@10ms "systemctl start --user '0-isd-example-unit-01.service' '0-isd-example-unit-05.service'" Enter
7982
# do not full refresh during recording -> Set it to a very large value
8083
# normal refresh should use the default value!
81-
Type@10ms "ISD_CACHE_INPUT=false ISD_STARTUP_MODE=user ISD_JOURNAL_PAGER=lnav ISD_DEFAULT_PAGER=moar ISD_PREVIEW_AND_SELECTION_REFRESH_INTERVAL_SEC=2.5 ISD_FULL_REFRESH_INTERVAL_SEC=1000 asciinema rec --overwrite --quiet --command isd ./docs/assets/images/isd.cast"
84+
# `my_asciinema` is simply `asciinema_3` wrapped in a bash script, where a custom `config.toml` is utilized.
85+
Type@10ms "ISD_CACHE_INPUT=false ISD_STARTUP_MODE=user ISD_JOURNAL_PAGER=lnav ISD_DEFAULT_PAGER=moar ISD_PREVIEW_AND_SELECTION_REFRESH_INTERVAL_SEC=2.5 ISD_FULL_REFRESH_INTERVAL_SEC=1000 my_asciinema rec --overwrite --quiet --command isd ./docs/assets/images/isd.cast"
8286
Enter
8387

8488
# # Sleep 2s

docs/javascripts/asciinema-player.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)