The t-rex website is created with gutenberg, a static site generator. The UI is styled with the Semantic UI library.
When pushing a branch, Travis CI generates the static pages, writes them into the gh-pages
branch and pushes the repo. This updates the site on Github pages.
The master
branch follows the master
branch of t-rex and is published on https://t-rex.tileserver.ch/dev/. The release
branch documents the latest release and is published on https://t-rex.tileserver.ch/.
Some tasks are automated in a Justfile.
just
: Serve sitejust --list
: List all tasks
Update documentation after a release:
git checkout master
just bump 0.9.0 0.9.1
git commit -a -m "v0.9.1"
git checkout release
git merge master
git push
git checkout master
git push
Updating semantic-ui theme:
npm install
# edit theme
just theme