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