mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(docs): rename generated markdown index to shuttle_index.md
This commit is contained in:
+4
-4
@@ -20,11 +20,11 @@ class Docs:
|
||||
self.script_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
# stuff related to docs
|
||||
def build_index(self):
|
||||
logging.info("building doc index")
|
||||
def build_index(self, filename="shuttle_index.md"):
|
||||
logging.info(f"building {filename}")
|
||||
repo = git.Repo(".")
|
||||
readme = self.load_doc_template("README_init.md")
|
||||
with open("README.md", "w") as fh:
|
||||
readme = self.load_doc_template("shuttle_index_header.md")
|
||||
with open(filename, "w") as fh:
|
||||
fh.write(
|
||||
readme.format(
|
||||
name=self.config["name"],
|
||||
|
||||
+1
-1
@@ -211,7 +211,7 @@ class ShuttleConfig:
|
||||
def create_efabless_submission(self):
|
||||
logging.info("creating efabless submission directory:")
|
||||
lastrun = self.find_last_run("tt_top")
|
||||
copy_print("README.md", "efabless/README.md")
|
||||
copy_print("shuttle_index.md", "efabless/README.md")
|
||||
copy_print("shuttle_index.json", "efabless/shuttle_index.json")
|
||||
copy_print("verilog/rtl/user_defines.v", "efabless/verilog/rtl/user_defines.v")
|
||||
copy_print(
|
||||
|
||||
Reference in New Issue
Block a user