Commit Graph

19 Commits

Author SHA1 Message Date
Přemysl Eric Janouch be27f00685
hswg: add .Attr, .AttrList, contains
Trying to figure out a sensible way of handle tags.
2021-06-29 04:14:47 +02:00
Přemysl Eric Janouch 61083027a3
hswg: split out asciidoc.go 2021-06-29 04:14:47 +02:00
Přemysl Eric Janouch 5b432fcc0b
hswg: add a minimal README.adoc
Moving the example script from somewhere else.
2021-06-27 00:01:22 +02:00
Přemysl Eric Janouch 04e19f5186
hswg: use inotify to watch for changed documents
Now we force the glob to be *.adoc, as well as *.asciidoc,
and there can only be one document directory.

The previous single-run mode is no longer supported.
2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch 49a685c32e
hswg: take output path for the index as argument 2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch d763ce619d
hswg: separate rendering from link expansion 2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch 8276f6bcb9
hswg: an initial attempt at refactoring main() 2021-06-22 23:25:02 +02:00
Přemysl Eric Janouch dd5c583e8b
hswg: store backlinks in a map 2021-06-22 23:25:01 +02:00
Přemysl Eric Janouch 63d18d068d
hswg: actually use templates for output files 2021-06-22 01:01:43 +02:00
Přemysl Eric Janouch d47a8d2237
Bump libasciidoc dependency 2021-06-02 22:56:49 +02:00
Přemysl Eric Janouch 35974efe21
hswg: try to order entries by date, reverse order 2020-09-21 22:44:12 +02:00
Přemysl Eric Janouch 8f542c7120
hswg: execute a template given on standard input
So that information can be extracted from documents easily.
2020-09-21 19:26:55 +02:00
Přemysl Eric Janouch ea8c59961c
hswg: don't link to drafts 2020-09-21 19:26:54 +02:00
Přemysl Eric Janouch 750f2139f5
hswg: extract attributes from documents 2020-09-21 19:26:54 +02:00
Přemysl Eric Janouch 084a0a94b0
hswg: avoid self-referential links 2020-08-18 06:35:32 +02:00
Přemysl Eric Janouch 91b1120c4a
hswg: bump libasciidoc to a dev version
We want:
 - curved quotation marks
 - image alignment/float setting
2020-08-17 04:40:20 +02:00
Přemysl Eric Janouch f7f892fb59
hswg: deduplicate backlinks 2020-08-15 07:20:04 +02:00
Přemysl Eric Janouch 3a5cc216bb
hswg: merge in hasp as a mode
No need to have the two-line header processor in two places.
2020-08-15 04:26:50 +02:00
Přemysl Eric Janouch a049249d81
hswg: add a static website generator 2020-08-15 04:26:50 +02:00