Commit Graph

3 Commits

Author SHA1 Message Date
1f1b65bf77 add config.sample.mk and deployment instructions 2022-08-01 11:52:00 -07:00
05b50d5c5f Switch to Makefile + ssg build system; add a dynamic nav
The old build system worked, but ssg adds some features while still
being simple and easy to hack on:

* set page title from the h1 tag, rather than the file name
* generate a sitemap (which we adapt to also generate a nav)

This site doesn't need a dynamic nav, but the Anarchy Planet docs site
will have a lot of rapidly changing pages and will benefit from a
dynamic nav. This way we can use the same build system for both
sites.
2022-01-04 09:39:23 -08:00
fedb059fdb use markdown(1) and cat(1) to build the html
* add an empty footer
    * add a minimal html header
    * indent the nav
    * modify the build process (publish.sh):
      * use a tmp directory
      * use discount markdown(1) rather than discount mkd2html(1)
      * generate html page title from the file name
      * indent html body
      * use cat(1) to combine the pieces
    * remove trailing newlines in publish.sh
    * git ignore tmp/ directory
2020-09-14 10:16:48 -07:00