Netlify+Hugo Cheat Sheet

Enabling reStructured text

A good background read is this article on Netlify that explains how they build sites and run scripts.

To enable reStructured text, you’ll need to install something like rst2html5.py

pip install rst2html5 && pip freeze > requirements.txt

This will install the package for you an generate the requirments.txt file. You can of course configure other packages (see above link for what you can and can’t do).

Once you push your code to GitHub/GitLab/Bitbucket the build will run on Netlify and you should be good to go.