feat(datasheet): use mustache for hugo_template

This commit is contained in:
htfab
2024-05-07 08:47:00 +03:00
committed by Uri Shaked
parent ce9f174c87
commit 6ac178db11
4 changed files with 64 additions and 51 deletions
+29
View File
@@ -0,0 +1,29 @@
---
hidden: true
title: "{{mux_address}} {{title}}"
weight: {{weight}}
---
## {{mux_address}} : {{title}}
* Author: {{author}}
* Description: {{&description}}
* [GitHub repository]({{git_url}})
* [GDS submitted]({{git_action}})
* {{project_type}} project
* [Extra docs]({{doc_link}})
* Clock: {{clock_hz}} Hz
{{&user_docs}}
### IO
| # | Input | Output | Bidirectional |
| ------------- | -------- | -------- | --------------- |
{{#pins}}
| {{pin_index}} | {{&ui}} | {{&uo}} | {{&uio[0]}} |
{{/pins}}
### Chip location
{{#hugo}}< shuttle-map "{{shuttle_id}}" "{{mux_address}}" >{{/hugo}}