mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix(docs): make project doc flow compatible with updated template (#158)
The shuttle datasheet flow was updated to santise strings properly, and within the changes were some updates to the template that was used. This template is shared between the shuttle and individual projects, but the standalone version wasn't updated to be compatible. This commit rectifies that issue.
This commit is contained in:
+2
-2
@@ -668,10 +668,10 @@ class Project:
|
|||||||
|
|
||||||
content = {
|
content = {
|
||||||
"template_version": template_version,
|
"template_version": template_version,
|
||||||
"project_title": template_args["title"].replace('"', '\\"'),
|
"project_title": f'str("{DocsHelper._escape_characters_in_string(template_args["title"])}")',
|
||||||
"project_author": f"({DocsHelper.format_authors(template_args['author'])})",
|
"project_author": f"({DocsHelper.format_authors(template_args['author'])})",
|
||||||
"project_repo_link": self.get_git_remote(),
|
"project_repo_link": self.get_git_remote(),
|
||||||
"project_description": template_args["description"],
|
"project_description": f'str("{DocsHelper._escape_characters_in_string(template_args["description"])}")',
|
||||||
"project_address": "----",
|
"project_address": "----",
|
||||||
"project_clock": DocsHelper.pretty_clock(self.info.clock_hz),
|
"project_clock": DocsHelper.pretty_clock(self.info.clock_hz),
|
||||||
"project_type": DocsHelper.get_project_type(
|
"project_type": DocsHelper.get_project_type(
|
||||||
|
|||||||
Reference in New Issue
Block a user