mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fill in missing pin table rows to avoid skipping so many projects
This commit is contained in:
@@ -97,6 +97,10 @@ class Docs():
|
|||||||
else:
|
else:
|
||||||
yaml_data[key] = ""
|
yaml_data[key] = ""
|
||||||
|
|
||||||
|
# many people remove unused pins in input / output / bidirectional
|
||||||
|
for key in ['inputs', 'outputs', 'bidirectional']:
|
||||||
|
yaml_data[key].extend((8 - len(yaml_data[key])) * ['n/a'])
|
||||||
|
|
||||||
# now build the doc & print it
|
# now build the doc & print it
|
||||||
try:
|
try:
|
||||||
doc = (doc_template
|
doc = (doc_template
|
||||||
@@ -107,6 +111,7 @@ class Docs():
|
|||||||
fh.write(doc)
|
fh.write(doc)
|
||||||
fh.write("\n\clearpage\n")
|
fh.write("\n\clearpage\n")
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
import ipdb; ipdb.set_trace()
|
||||||
logging.warning("missing pins in info.yaml, skipping")
|
logging.warning("missing pins in info.yaml, skipping")
|
||||||
|
|
||||||
# ending
|
# ending
|
||||||
|
|||||||
Reference in New Issue
Block a user