fix(datasheet): broken links to git / extra docs

This commit is contained in:
Uri Shaked
2023-09-06 10:02:13 +03:00
parent 09c57b7938
commit da5f3cb1f8
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -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: