mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
This is a squash of 5 commits in order to add the new datasheet flow. fix(datasheet): ensure datasheet can use images properly fix(datasheet): white page when funding was not specified This was caused by creating a page before first checking whether there was any content for that page beforehand, so it would result in a rogue white page with no content. fix(datasheet): missing analog pin tables fix(datasheet): tweak pandoc settings Switching from `gfm` to `markdown` should enable more formatting options. The extensions have been configured to be similar to `gfm` but provide some additional things, like `line_blocks` and `lists_without_preceding_blankline`s.
32 lines
841 B
Plaintext
32 lines
841 B
Plaintext
#import "/tt/docs/typst/src/tt.typ" as tt
|
|
|
|
#show: tt.datasheet.datasheet.with(
|
|
shuttle_id: "{{&shuttle_id_upper}}",
|
|
shuttle_name: "{{&shuttle_name}}",
|
|
repo_link: "{{&repo_link}}",
|
|
theme: "bold",
|
|
|
|
{{#if_theme_override_colour}}
|
|
theme_override_colour: {{&theme_override_colour}},
|
|
{{/if_theme_override_colour}}
|
|
|
|
projects: include "datasheet_manifest.typ",
|
|
|
|
{{#if_pinout}}
|
|
show_pinouts: "{{&pinout}}",
|
|
{{/if_pinout}}
|
|
|
|
{{#if_chip_viewer}}
|
|
chip_viewer_link: "https://tinytapeout.com/decap/{{shuttle_id}}",
|
|
{{/if_chip_viewer}}
|
|
|
|
link_disable_colour: {{link_disable_colour}},
|
|
|
|
{{#if_link_override_colour}}
|
|
link_override_colour: {{&link_override_colour}},
|
|
{{/if_link_override_colour}}
|
|
|
|
qrcode_follows_theme: {{qrcode_follows_theme}},
|
|
)
|
|
|
|
{{&datasheet_body}} |