d2/d2ir
Anmol Sethi e4fac7840f
cli: Improve multiboard output
- Boards with subboards are now selfcontained folders with index.svg/png as
  the root board render.
- Boards that are only containers of other boards are not rendered. For example a
  scenario with no modifications and only steps only has its steps
  rendered.
- Boards with sibling boards of another type are rendered under a
  subdirectory indicating their type to separate them. For example a
  board with layers and scenarios has its layers rendered into subfolder
  layers and scenarios into subfolder scenarios.

cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00
..
compile.go update 2023-02-22 16:21:16 -08:00
compile_test.go update 2023-02-22 16:21:16 -08:00
d2ir.go cli: Improve multiboard output 2023-02-27 13:50:03 -08:00
d2ir_test.go d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:30 -08:00
merge.go d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
query.go d2ir: Fully implement scenarios/steps 2023-01-24 03:24:26 -08:00