Commit graph

64 commits

Author SHA1 Message Date
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
Alexander Wang
5c2d75a360
tests 2023-02-10 21:28:03 -08:00
Alexander Wang
b30a72b2b3
merge 2023-02-10 21:25:28 -08:00
Alexander Wang
8ec04a1f61
save 2023-02-10 10:25:44 -08:00
Alexander Wang
b12c878cf2
crows feet tuning 2023-02-10 00:57:15 -08:00
Alexander Wang
4aaaf8dfa2
elk 2023-02-09 19:49:53 -08:00
Alexander Wang
dbac4b8cdf
dagre 2023-02-09 19:29:30 -08:00
Gavin Nishizawa
b387e2c6e0
update tests 2023-02-03 13:59:12 -08:00
Gavin Nishizawa
4bfb6af7e6
Merge branch 'master' into shape-specific-inner-boxes 2023-02-02 20:25:52 -08:00
Anmol Sethi
09dc9fd12f
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-02-02 10:33:31 -08:00
Gavin Nishizawa
1b1cdaff15
Merge branch 'master' into shape-specific-inner-boxes 2023-02-01 10:31:46 -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
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -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
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Gavin Nishizawa
ce0d81650d
update tests 2023-01-26 16:45:14 -08:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08: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
Bernard Xie
35c1a1633f
add script to tests 2023-01-03 16:42:39 -08:00
OneRain2333
f2a0de9f69 update tests 2023-01-01 16:13:32 +08:00
Alexander Wang
e8a897530c
update tests 2022-12-30 21:00:34 -08:00
Alexander Wang
462d22a75f
don't round 2022-12-24 13:39:45 -08:00
Alexander Wang
b21318ca5b
Merge branch 'master' into sketch 2022-12-21 21:04:30 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Gavin Nishizawa
495a21120c
update tests 2022-12-21 13:11:08 -08:00
Gavin Nishizawa
b031cc840c
update tests 2022-12-16 17:17:29 -08:00
Alexander Wang
06ea7c191a
unique label mask 2022-12-05 22:32:23 -08:00
Alexander Wang
159e2016a9
blend groups 2022-12-05 12:09:32 -08:00
Alexander Wang
bed4ef7fae
fix group classification 2022-12-05 11:36:19 -08:00
Alexander Wang
5deb9b2d7d
blend groups 2022-12-05 11:22:16 -08:00
Alexander Wang
3b94fabb0b
add label masks over all connections 2022-12-03 16:36:11 -08:00
Júlio César Batista
abcfa7cb24
Update tests 2022-11-30 11:23:30 -08:00