Přemysl Eric Janouch
d643187333
hswg: preset some attributes
2022-10-05 20:38:27 +02:00
Přemysl Eric Janouch
442fa5d660
Bump libasciidoc
2022-03-20 23:28:45 +01:00
Přemysl Eric Janouch
22e3861851
hswg: use a buffered channel for signals
...
Found by go vet.
2022-03-16 12:33:25 +01:00
Přemysl Eric Janouch
b832a38ca6
hswg: parallelize rendering
2022-03-03 12:57:38 +01:00
Přemysl Eric Janouch
6353dd156a
hswg: log the error message on 📅 parse fail
2022-02-28 10:44:32 +01:00
Přemysl Eric Janouch
7a2ea02c8d
hswg: make AttrList return nil for missing attrs
...
And update copyright years.
2022-02-28 05:05:52 +01:00
Přemysl Eric Janouch
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
Přemysl Eric Janouch
ef24d7980c
hswg: improve inotify processing
...
Make sure to read the whole record before checking flags.
2021-07-06 01:15:44 +02:00
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
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