feat(docs): add new datasheet generation method (#123)

(cherry picked from commit c36badfb60)
This commit is contained in:
Kristaps Jurkans
2025-11-14 22:16:17 +02:00
committed by Uri Shaked
parent bef483ab40
commit 6e576d6de6
37 changed files with 2751 additions and 205 deletions
+32
View File
@@ -0,0 +1,32 @@
#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}}