Setting up a feedback loop
To contribute to the documentation site, use feedback:
$ nix develop
nix $ feedback docs
Contributing casts
Contributing an screencast to the documentation site involves writing an autorecorder cast specification.
This ensures that the casts are always showing the current version of the tools that they show off.
-
Locate the cast spec files in
smos-docs-site/content/casts. -
Copy the example cast:
example.yamlto create your newmycast.yamlspecification. -
Make the changes that you want.
-
Try out your cast using
autorecorder record mycast.yaml mycast.cast. -
Use your cast in the documentation site by embedding it like this:
<div id="cast"></div> <script src=/assets/asciinema-player.js></script> <script> AsciinemaPlayer.create('/web-assets/mycast.cast', document.getElementById('cast'), { autoPlay: true, preload: true, loop: true, }); </script>