This is the repository for the new slides for Ruby Monstas Zürich. These are HTML slides, based on https://revealjs.com/.
If you want to work on the slides, follow these steps to set it up on your machine:
- Install Node.js if you haven't already (you can check with
node --version
). On macOS you can usebrew install node
to install. - Clone this repository:
git clone [email protected]:rubymonstas-zurich/slides.rubymonstas.ch.git
- Change to the directory:
cd slides.rubymonstas.ch
- Install the dependencies:
npm install
- Start the development server:
npm start
. This will open http://localhost:8000 in your browser and you can navigate to the slides you want to edit there.
Use rake new [slide_name]
to create a new slide set. This will create the needed directory and an initial index.html
file in ./slides/[slide_name]
, for example:
rake new bananas
... which will create ./slides/bananas/index.html
that you can start editing.
You can generate PDFs from the HTML slides locally by running decktape, like this:
./generate-pdfs.sh
Note that the development server has to run too: npm start
PDF generation should also happen automagically through GitHub Actions. The generated slides are uploaded as releases to GitHub.
In order to end up with consistent and easily understandable, useful slides, here are some guidelines.
Commit your slides to a branch and have another coach review them before you actually present them for the first time.
Try to use language that is as precise as possible. Don't be afraid to call things their actual names. The participants will have to learn them sooner or later anyway.
On the other hand, we want to use metaphors when describing programming concepts (for example describing variables as a wall full of drawers) When doing that, try to make it clear that we're using a metaphor. Outline where the metaphor begins and where it ends. Use images to underline your metaphor use if possible.
We've noticed that our participants like to use the slides to look up information while doing the exercises. Make sure your slides fit that use case. Make them easily searchable by not only using images but also text that describes them.
Add a link to the relevant chapter of Ruby for beginners at the end of the slideset.