Skip to content

Commit 58ebb98

Browse files
committed
docs: improve images for examples
1 parent 20aad23 commit 58ebb98

File tree

7 files changed

+22
-14
lines changed

7 files changed

+22
-14
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,12 @@ jobs:
5252
5353
- name: Run vhs
5454
run: |
55-
sudo apt update
56-
sudo apt install -y ffmpeg ttyd
55+
sudo apt-get -qq update
56+
sudo apt-get -qq install -y ffmpeg ttyd
5757
go install github.com/charmbracelet/vhs@v0.10.0
5858
cd docs/examples/
5959
${HOME}/go/bin/vhs vhs/pomodoro.tape
60-
diff pomodoro.ascii test/pomodoro.ascii
6160
${HOME}/go/bin/vhs vhs/download.tape
62-
diff download.ascii test/download.ascii
6361
6462
- name: Build JAR
6563
run: clojure -T:build jar

docs/examples/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,35 @@
55
```
66
clj -M -m examples.pomodoro
77
```
8-
![pomodoro gif](/images/pomodoro.gif)
8+
![pomodoro gif](images/pomodoro.gif)
99
```
1010
clj -M -m examples.download
1111
```
12-
![download gif](/images/download.gif)
12+
![download gif](images/download.gif)
1313
```
1414
clj -M -m examples.spinner-demo
1515
```
16-
![spinner gif](/images/spinner_demo.gif)
16+
![spinner gif](images/spinner.gif)
1717
```
1818
clj -M -m examples.todos
1919
```
20-
![todos gif](/images/todos.gif)
20+
![todos gif](images/todos.gif)
2121
```
2222
clj -M -m examples.countdown
2323
```
24-
![countdown gif](/images/countdown.gif)
24+
![countdown gif](images/countdown.gif)
2525
```
2626
clj -M -m examples.file-browser
2727
```
28-
![file browser gif](/images/file_browser.gif)
28+
![file browser gif](images/file_browser.gif)
2929
```
3030
clj -M -m examples.form
3131
```
32-
![form gif](/images/form.gif)
32+
![form gif](images/form.gif)
3333
```
3434
clj -M -m examples.counter
3535
```
36-
![counter gif](/images/counter.gif)
36+
![counter gif](images/counter.gif)
3737

3838
## native-image compilation
3939

docs/examples/images/spinner.gif

184 KB
Loading
-504 KB
Binary file not shown.

docs/examples/vhs/download.tape

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Output download.ascii
1+
Output images/download.gif
22

33
Set Shell bash
44

docs/examples/vhs/pomodoro.tape

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Output pomodoro.ascii
1+
Output images/pomodoro.gif
22

33
Set Shell bash
44

docs/examples/vhs/spinner.tape

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Output images/spinner.gif
2+
3+
Set Shell bash
4+
5+
Type "clojure -M -m examples.spinner-demo"
6+
Enter
7+
Wait+Screen /Spinner\sDemo/
8+
Sleep 8s
9+
Type "q"
10+
Sleep 1s

0 commit comments

Comments
 (0)