mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(docs): add new datasheet generation method (#123)
(cherry picked from commit c36badfb60)
This commit is contained in:
committed by
Uri Shaked
parent
bef483ab40
commit
6e576d6de6
+8
-2
@@ -73,10 +73,16 @@ if __name__ == "__main__":
|
||||
)
|
||||
parser.add_argument(
|
||||
"--create-pdf",
|
||||
help="create a single page PDF",
|
||||
help="create a datasheet for the current project",
|
||||
action="store_const",
|
||||
const=True,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--template-version",
|
||||
help="set typst template version (default 1.0.0)",
|
||||
default="1.0.0",
|
||||
nargs="?",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--create-svg",
|
||||
help="create a svg of the GDS layout",
|
||||
@@ -150,7 +156,7 @@ if __name__ == "__main__":
|
||||
project.harden()
|
||||
|
||||
if args.create_pdf:
|
||||
project.create_pdf()
|
||||
project.create_project_datasheet(args.template_version)
|
||||
|
||||
if args.create_png:
|
||||
project.create_png()
|
||||
|
||||
Reference in New Issue
Block a user