]> Sergey Matveev's repositories - paster.git/blob - doc/asciicast.texi
Texinfo documentation, website and asciicasts
[paster.git] / doc / asciicast.texi
1 @node Asciicast
2 @unnumbered Asciicast
3
4 You can optionally automatically generate HTML pages for your
5 @file{.cast}s, if you copy
6 @url{https://github.com/asciinema/asciinema-player/releases, asciinema-player}
7 bundle to your HTTP server and specify its base name for
8 @option{-asciicast-path}:
9
10 @example
11 $ v=v2.6.1
12 $ u=https://github.com/asciinema/asciinema-player/releases/download/$v/
13 $ for ext in css js ; do
14     wget -O /path/to/www/asciinema-player-$v.$ext $u/asciinema-player.$ext
15 done
16
17 use $GOPATH/bin/paster -asciicast-path asciinema-player-v2.6.1
18 @end example
19
20 After that, additional @file{.cast.html} file will be generated during
21 upload each time, with the links to the @file{.cast} and the player. You
22 will also get those HTML URLs in the output.