Tutorial website for FXGL, published as GoHugo website with GitHub Actions and Pages.
Static website generator Hugo.
Uses the Hugo-theme-learn.
Special layout components are explained on learn.netlify.app/en/shortcodes.
All pages are separate md-files inside the content directory. The formatting of the text needs to use the rules specified in commonmark.org.
To test the site locally, first install Hugo as described on "Install Hugo".
Example for Mac:
brew install hugo
To run the site, open the terminal in the directory with the sources of this site and run the following command:
hugo serve
The website is now available on localhost:1313.
Using a GitHub Action, the site is published on each commit into the "gh-pages" branch of this repository which is used by GitHub Pages to publish the site.