Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.09 KB

style_guide.md

File metadata and controls

56 lines (31 loc) · 1.09 KB

Style Guide


This page describes design elements for the opendc-mini course.


Asciinema

Offical Website Asciinema Player GitHub Repo

Asciinema is used to show command line usage.

Before recording a console session, minimise the prompt size with the following command.

$ export PS1="\\\$ "

When recording a console session make sure that there are no pauses longer than 1.5 seconds.

asciinema rec -w 1.5 ~/Sites/OpenDatacentre/opendc-mini/docs/asciinema/command_aliases.json

To play back a recorded console session.

asciinema play ~/Sites/OpenDatacentre/opendc-mini/docs/asciinema/kubectx_kubens.json

Image Sizes

Screen Capture

Video Compression

YouTube

Serving Content for Testing

To serve the Gitbook site for testing on the local network, as opposed to the localhost which is used by gitbook serve, use the built-in Python HTTP server.

$ cd opendc-mini
$ python -mSimpleHTTPServer

Site