Commit graph

28 commits

Author SHA1 Message Date
Alexander Wang
cfa37f4469
regen tests 2023-03-11 17:22:26 -08:00
Alexander Wang
73239c3e97
update 2023-03-03 21:02:02 -08:00
Gavin Nishizawa
646e61a26f
update tests 2023-03-01 17:41:58 -08:00
Anmol Sethi
f64b5c010d
IsContainerOnly -> IsFolderOnly 2023-02-27 14:39:09 -08:00
Anmol Sethi
78b09f5007
BoardContainer -> IsContainerOnly
As discussed on slack.
2023-02-27 14:39:08 -08:00
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
b387e2c6e0
update tests 2023-02-03 13:59:12 -08:00
Vojtěch Fošnár
aa019a9329
resolve conflicts 2023-01-30 12:22:14 +01:00
Vojtěch Fošnár
01928a5032
review fixes 2023-01-30 12:06:54 +01:00
Alexander Wang
8b141d37f0
use bold and italic for code snippets 2023-01-29 14:17:34 -08:00
Vojtěch Fošnár
6598a1023f
fixed appendix text color 2023-01-28 01:43:24 +01:00
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
OneRain2333
fafc542cfe update tests 2023-01-24 17:52:05 +08:00
Alexander Wang
74b54f3f8a
update 2023-01-19 00:52:10 -08:00
Gavin Nishizawa
1bf92b4c3c
update test 2023-01-13 20:05:04 -08:00
Gavin Nishizawa
3d3d6235ba
add code leading newline regression test 2023-01-13 20:02:45 -08:00