The weshipsoftware.com website is built with Alternator and hosted on Github Pages.
The alternator command will build sources/ into docs/.
-w watches sources/ for changes.
-p <port> runs docs/ on localhost at the given port.
weshipsoftware.github.io $ alternator sources docs -wp 8080If you need to clean docs/, make sure not to delete any dotfiles.
weshipsoftware.github.io $ rm -r docs/*There are Nova tasks set up for building, running, and cleaning.
docs/ on the main branch is automatically deployed whenever changes are
pushed to Github.
docs/.nojekyll tells Github Pages not to remove dotfiles when deploying.
The CNAME file in sources/ and docs/ tells Github Pages to use the
weshipsoftware.com domain.
Dotfiles in sources/ and docs/ are ignored when building.
Dotfiles in sources/, such as sources/.layout.html and sources/.scripts,
are resource files used for building
but do not need to be publicly accessible.
Dotfiles in docs/, such as docs/.fonts/ and docs/.images,
are static assets that do not require building
but do need to be publicly accessible.