Commit Graph

24 Commits

Author SHA1 Message Date
b832a38ca6
hswg: parallelize rendering 2022-03-03 12:57:38 +01:00
6353dd156a
hswg: log the error message on 📅 parse fail 2022-02-28 10:44:32 +01:00
7a2ea02c8d
hswg: make AttrList return nil for missing attrs
And update copyright years.
2022-02-28 05:05:52 +01:00
c3905349b0
hswg: don't eat libasciidoc rendering errors
An unfortunate consequence of the := operator's behaviour.

Also, update copyright years.
2021-09-23 20:58:59 +02:00
ef24d7980c
hswg: improve inotify processing
Make sure to read the whole record before checking flags.
2021-07-06 01:15:44 +02:00
be27f00685
hswg: add .Attr, .AttrList, contains
Trying to figure out a sensible way of handle tags.
2021-06-29 04:14:47 +02:00
61083027a3
hswg: split out asciidoc.go 2021-06-29 04:14:47 +02:00
5b432fcc0b
hswg: add a minimal README.adoc
Moving the example script from somewhere else.
2021-06-27 00:01:22 +02:00
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
49a685c32e
hswg: take output path for the index as argument 2021-06-22 23:25:02 +02:00
d763ce619d
hswg: separate rendering from link expansion 2021-06-22 23:25:02 +02:00
8276f6bcb9
hswg: an initial attempt at refactoring main() 2021-06-22 23:25:02 +02:00
dd5c583e8b
hswg: store backlinks in a map 2021-06-22 23:25:01 +02:00
63d18d068d
hswg: actually use templates for output files 2021-06-22 01:01:43 +02:00
d47a8d2237
Bump libasciidoc dependency 2021-06-02 22:56:49 +02:00
35974efe21
hswg: try to order entries by date, reverse order 2020-09-21 22:44:12 +02:00
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
ea8c59961c
hswg: don't link to drafts 2020-09-21 19:26:54 +02:00
750f2139f5
hswg: extract attributes from documents 2020-09-21 19:26:54 +02:00
084a0a94b0
hswg: avoid self-referential links 2020-08-18 06:35:32 +02:00
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
f7f892fb59
hswg: deduplicate backlinks 2020-08-15 07:20:04 +02:00
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
a049249d81
hswg: add a static website generator 2020-08-15 04:26:50 +02:00