fix: Turnip drivers. add: syncthing, artemis

This commit is contained in:
Richard Macias
2025-05-26 20:09:58 -05:00
parent d3e08ed6d1
commit 0777bce6cc
9 changed files with 227 additions and 67 deletions

View File

@@ -0,0 +1,29 @@
import sys
import os
def stitch_markdown_files(init_file, table_file, faq_file, output_file="README.md"):
files = [init_file, table_file, faq_file]
combined_content = []
for file in files:
if not os.path.exists(file):
print(f"❌ File not found: {file}")
sys.exit(1)
with open(file, "r", encoding="utf-8") as f:
content = f.read().strip()
combined_content.append(content)
with open(output_file, "w", encoding="utf-8") as f:
f.write("\n\n".join(combined_content) + "\n")
print(f"✅ README.md successfully created with {len(files)} sections.")
if __name__ == "__main__":
if len(sys.argv) != 4:
print("Usage: python stitch_markdown.py init.md table.md faq.md")
sys.exit(1)
stitch_markdown_files(sys.argv[1], sys.argv[2], sys.argv[3])