Commit graph

141 commits

Author SHA1 Message Date
Gavin Nishizawa
186368cd1e
update test 2023-02-27 19:55:52 -08:00
Gavin Nishizawa
357dda9815
add test 2023-02-27 19:43:04 -08:00
Gavin Nishizawa
4d1462473c
update tests 2023-02-27 19:41:18 -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
e5eacbd499
fix theme regex 2023-02-27 12:56:04 -08:00
Gavin Nishizawa
74dbf60830
add regression test read from file 2023-02-27 10:31:55 -08:00
Alexander Wang
87eae1b616
implement background styles 2023-02-26 16:23:51 -08:00
Alexander Wang
0adef9953c
tests 2023-02-25 08:39:12 -08:00
Alexander Wang
4d4073ee27
Merge branch 'master' into fitToScreen-alternative 2023-02-25 08:29:42 -08:00
Alexander Wang
0216c8b5f0
fix font-color for tables and class 2023-02-24 20:39:34 -08:00
Alexander Wang
4411fbdabc
fix class shape in sequence diagram render 2023-02-24 20:17:09 -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
Bernard Xie
c3071598dc
add comment, fix tests, add to changelog 2023-02-24 12:01:37 -08:00
Alexander Wang
a330b35fc5
tests 2023-02-23 17:20:15 -08:00
Gavin Nishizawa
fa686952cd
update tests 2023-02-23 13:02:52 -08:00
Gavin Nishizawa
60b7865fd3
update tests 2023-02-23 11:46:24 -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
6c8ff99eaf
merge updates 2023-02-23 11:41:42 +01:00
Alexander Wang
a733c6ec2f
regen test 2023-02-22 16:22:28 -08:00
Alexander Wang
389f4cb9d3
failing test 2023-02-22 13:21:29 -08: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
02e69bfd31
original test 2023-02-14 11:35:00 -08:00
Alexander Wang
ffea3c9ab2
fix 2023-02-14 11:34:18 -08:00
Alexander Wang
3c38e16ccf
revert 2023-02-12 12:13:35 -08:00
Alexander Wang
2ab9f434e1
escape using html 2023-02-12 12:01:33 -08:00
Alexander Wang
281f163acf
tests 2023-02-12 10:25:28 -08:00
Alexander Wang
019429edcf
try different value 2023-02-10 21:45:31 -08:00
Alexander Wang
5c2d75a360
tests 2023-02-10 21:28:03 -08:00
Alexander Wang
0f9d98fa8a
Merge branch 'master' into tune-spacing 2023-02-10 21:27:10 -08:00
Alexander Wang
b30a72b2b3
merge 2023-02-10 21:25:28 -08:00
Alexander Wang
c33676a416
ok 2023-02-10 20:47:58 -08:00
Alexander Wang
9fad105822
fix padding 2023-02-10 13:47:22 -08:00
Alexander Wang
9463c67555
test 2023-02-10 13:40:12 -08:00
Alexander Wang
563c6999d0
cleanup 2023-02-10 12:50:25 -08:00
Alexander Wang
939a5ca088
ok 2023-02-10 12:18:50 -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
Alexander Wang
675e2ea6ec
tests 2023-02-09 14:30:38 -08:00
Alexander Wang
1baf999760
update right font 2023-02-06 13:14:31 -08:00