Commit graph

7 commits

Author SHA1 Message Date
Anmol Sethi
b704c6684b
ci: Update [ci-force] 2022-12-07 23:41:33 -08:00
Anmol Sethi
b72959a91f
fmt 2022-12-07 23:22:20 -08:00
Anmol Sethi
b81647e7e3
Add markdown TOC generation using pandoc and shell
See a875763ecc/lib/misc.sh (L28)

The TOC is generated via pandoc and inserted via shell. `<!-- toc -->`
marks the insertion point, the TOC is inserted right below.

I'm using this in utils-go too. We should use it anywhere else we need
TOCs. I'm sure pandoc can handle the frontmatter in d2-docs too.
2022-12-01 09:54:09 -08:00
Anmol Sethi
77ed56990a
ci: Consolidate github actions into one main job 2022-11-29 13:09:12 -08:00
Anmol Sethi
c09064dc60
ci: Many more fixes 2022-11-20 03:34:01 -08:00
Anmol Sethi
0df3d4d15b
ci: Many fixes and updates 2022-11-20 03:34:01 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00