8 Commits
Author SHA1 Message Date
Uri Shaked 2278ea867e feat: add ihp-sg13cmos5l PDK alongside ihp-sg13g2
Based on work done in the ihp-sg13cmos5l branch
2026-10-27 11:17:19 +01:00
Gerard Talatinian bd4a4a08e5 fix: lazy imports for matplotlib & gdstk (#161)
only require matplotlib & gdstk for functionality where we actually use them

contributed by @gerardvt
2026-03-26 11:02:37 +01:00
Kristaps Jurkans becdf49dd7 fix(docs): remove extra str call (#159)
The `str()` call is already added by calling `DocsHelper._as_str_or_content()`, so having both causes an error which prevents docs from building.
2026-03-10 12:33:07 +01:00
Kristaps Jurkans bfd5020b4c fix(docs): attempt to sanitise user strings from yaml
User strings were used as-is in certain parts since they were taken directly from `info.yaml`, but this could sometimes cause the datasheet build to fail since they've found a way (intentionally or not) to escape the content box that they were in.

This commit attempts to address this issue by:
- Sanitising user input using regex
- Using Typst's `str()` function instead of content boxes where possible
- Clarifying syntax in certain sections

Hopefully these changes will remove (or at least reduce) the chances of someone breaking the build.
2026-03-07 22:55:01 +02:00
Kristaps Jurkans 99ff45921a feat(datasheet): automatically determine appropriate pinout table
This is determined by looking at the `pdk` key in the config. If `pdk` doesn't exist, `id` will be used (assuming that the structure of the shuttle ID follows ttX where X=[sky, ihp, gf]). If any part fails, it will fall back to `openframe_sky130`.

The pinout can also be manually controlled by setting the `datasheet_config.pinout` key in the shuttle config, and that will be used verbatim. Note that `datasheet_config.pinout` is not checked, so it *must* be exact, otherwise it will cause the datasheet build to fail.
2025-12-15 19:53:30 +02:00
Kristaps Jurkans 6f6b5042c2 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.
2025-10-30 15:27:41 +00:00
Kristaps Jurkans b8c4e91ab1 Fix missing analog pin tables 2025-10-30 13:34:20 +00:00
kris j c36badfb60 feat(docs): add new datasheet generation method (#123) 2025-10-16 00:11:07 +02:00