mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 12:46:08 +01:00
fix(datasheet): broken links to git / extra docs
This commit is contained in:
@@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
* Author: {author}
|
* Author: {author}
|
||||||
* Description: {description}
|
* Description: {description}
|
||||||
* [GitHub repository]({git_url})
|
* [GitHub repository](__git_url__)
|
||||||
* {project_type} project
|
* {project_type} project
|
||||||
* Mux address: {mux_address}
|
* Mux address: {mux_address}
|
||||||
* [Extra docs]({doc_link})
|
* [Extra docs](__doc_link__)
|
||||||
* Clock: {clock_hz} Hz
|
* Clock: {clock_hz} Hz
|
||||||
* External hardware: {external_hw}
|
* External hardware: {external_hw}
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -104,7 +104,11 @@ class Docs():
|
|||||||
|
|
||||||
# now build the doc & print it
|
# now build the doc & print it
|
||||||
try:
|
try:
|
||||||
doc = doc_template.format(**yaml_data)
|
doc = (doc_template
|
||||||
|
.replace('__git_url__', '{git_url}')
|
||||||
|
.replace('__doc_link__', '{doc_link}')
|
||||||
|
.format(**yaml_data)
|
||||||
|
)
|
||||||
fh.write(doc)
|
fh.write(doc)
|
||||||
fh.write("\n\clearpage\n")
|
fh.write("\n\clearpage\n")
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
|||||||
Reference in New Issue
Block a user