Commit graph

389 commits

Author SHA1 Message Date
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
JettChenT
a448a65c7f
resolve CI testing conflicts 2023-02-27 15:53:22 +08:00
Jett Chen
c9477639cc
Merge branch 'master' into 3d-hexagon 2023-02-27 10:22:09 +08:00
JettChenT
5b5a976b7c
squash commits
upate tests

Update changelog

add support for Fill

update test case

resolve changes
2023-02-27 09:50:18 +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
39f6c7754c
tests 2023-02-25 08:30:15 -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-ts
1a27dee9c8
Merge pull request #880 from gavin-ts/adjust-dagre-edge-for-container-label
dagre: stop container edges at container label
2023-02-23 14:48:53 -08:00
Gavin Nishizawa
0db09d5a53
update test 2023-02-23 14:44:49 -08:00
Gavin Nishizawa
7701673c51
add container_label_edge_adjustment2 test 2023-02-23 14:44:00 -08:00
Alexander Wang
e1b407ea52
use more accurate icon bounding 2023-02-23 14:42:56 -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
Gavin Nishizawa
c86da5e100
update test 2023-02-23 11:46:22 -08:00
Gavin Nishizawa
b124262c76
update test 2023-02-23 11:35:52 -08:00
Gavin Nishizawa
8f013ba2e4
add container_label_edge_adjustment todo test 2023-02-23 11:35:23 -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
gavin-ts
833ad46148
Merge pull request #866 from gavin-ts/add-dagre-container-child-error
Add error for dagre container child edge
2023-02-22 17:32:35 -08: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
Gavin Nishizawa
0608dfdc14
cleanup 2023-02-22 12:51:27 -08:00
Vojtěch Fošnár
79abc91ea3
fix filled circle arrowhead offset 2023-02-22 18:50:06 +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
75102f3d40
fix CLI option, update and hopefully fix tests 2023-02-20 20:09:17 +01:00
Vojtěch Fošnár
d8525f5225
Merge branch 'terrastruct:master' into master 2023-02-20 19:54:39 +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
Alexander Wang
5ff1909935
container dimensions 2023-02-18 23:35:18 -08:00
Alexander Wang
e5b575f301
change back 2023-02-18 16:23:27 -08:00
Gavin Nishizawa
4825250819
update tests 2023-02-15 11:48:14 -08:00
Alexander Wang
53dce56415
Merge pull request #817 from alixander/japanese
Scale multi-width unicodes
2023-02-14 13:53:36 -08:00
Alexander Wang
cbfa028258
regenerate tests 2023-02-14 11:41:29 -08:00
Alexander Wang
156c974241
unicode tests 2023-02-14 11:41:21 -08:00
Alexander Wang
9cb7e7f396
scale multi-width unicode 2023-02-14 11:40:49 -08:00
Alexander Wang
02e69bfd31
original test 2023-02-14 11:35:00 -08:00