Commit graph

74 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
87eae1b616
implement background styles 2023-02-26 16:23:51 -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
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
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
491049766c
update tests 2023-02-13 11:25:28 -08:00
Alexander Wang
281f163acf
tests 2023-02-12 10:25:28 -08:00
Alexander Wang
1baf999760
update right font 2023-02-06 13:14:31 -08:00
Alexander Wang
ea58e1139b
update back font size 2023-02-06 13:12:43 -08:00
Alexander Wang
812957bf23
Tests, changleog 2023-02-06 01:15:18 -08:00
Alexander Wang
0341fd6f3e
update tests 2023-02-06 01:10:52 -08:00
Gavin Nishizawa
2d2b7d7cd1
update tests 2023-02-03 15:01:09 -08:00
Gavin Nishizawa
b387e2c6e0
update tests 2023-02-03 13:59:12 -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
cc324d1f68
downgraded tests to Go 1.18.5 2023-01-30 18:01:45 +01: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
1cbcca7e3a
recreated tests with downgraded go to 1.18.5 2023-01-28 01:28:38 +01:00
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
Gavin Nishizawa
03788f5c10
update tests 2023-01-27 11:15:00 -08:00
Gavin Nishizawa
ce0d81650d
update tests 2023-01-26 16:45:14 -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
OneRain2333
16d2eee4a3 update test using go 1.18 2023-01-19 15:24:39 +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
ae2f75890b
fix class header 2022-12-24 16:19:09 -08:00
Alexander Wang
64d7d5f1b6
apply themes to tables and classes 2022-12-24 15:56:22 -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
c054538ae2
update tests 2022-12-19 17:55:16 -08:00
Gavin Nishizawa
7b5c3ee3d8
update tests 2022-12-19 17:53:18 -08:00