Commit graph

14 commits

Author SHA1 Message Date
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
Alexander Wang
87eae1b616
implement background styles 2023-02-26 16:23:51 -08:00
Gavin Nishizawa
f144886ba5
update tests 2023-02-24 18:55:43 -08:00
Gavin Nishizawa
fd2955fb56
update tests 2023-02-24 18:55:37 -08:00
Alexander Wang
a330b35fc5
tests 2023-02-23 17:20:15 -08:00
Alexander Wang
95f6003f22
tests 2023-02-23 11:17:44 -08:00
Vojtěch Fošnár
ba72dfa5d5
fix appendix background 2023-02-23 13:22:36 +01:00
Vojtěch Fošnár
5e35b68603
finally fixed tests? 2023-02-21 09:33:13 +01:00
Vojtěch Fošnár
2cea6ba7f0
fix class header, exercise dark theme for appendix, update tests 2023-02-20 20:54:32 +01:00
Vojtěch Fošnár
3da8a5c8aa
automatically add xml namespace to divs, small tweaks 2023-02-19 20:34:42 +01:00
Vojtěch Fošnár
46766d0f04
fix sketch tests, better trigger system 2023-02-19 14:26:24 +01:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Gavin Nishizawa
4825250819
update tests 2023-02-15 11:48:14 -08:00
Gavin Nishizawa
220351d48d
fix height of class with no rows 2023-02-03 18:28:26 -08:00