MCPcopy Create free account
hub / github.com/DevCloudNinjas/DevOps-Projects / write_project_index

Function write_project_index

tools/build_starlight_content.py:802–815  ·  view source on GitHub ↗
(projects: list[dict])

Source from the content-addressed store, hash-verified

800
801
802def write_project_index(projects: list[dict]) -> None:
803 cards = "\n".join(project_card(project) for project in projects)
804 description = "Browse all 54 DevOps projects without leaving the learning portal."
805 content = f"""{frontmatter("Projects", order=1, description=description)}
806Every project now has an internal guide page and a standard lab card. Use the
807fields to compare level, time, cost, tools, cleanup, credentials, local
808support, review date, and portfolio proof before you open a lab. Tool tags are
809clickable and open matching project collections.
810
811<div class="project-grid">
812{cards}
813</div>
814"""
815 (TARGET_DOCS / "projects" / "index.md").write_text(content, encoding="utf-8")
816
817
818def write_start_here_page() -> None:

Callers 1

mainFunction · 0.85

Calls 2

project_cardFunction · 0.85
frontmatterFunction · 0.85

Tested by

no test coverage detected