Skip to content

Commit 611f42c

Browse files
committed
refactor(site): rewrite as TechEngine landing
The site inherited the public-facing TechAPI playground at the split; this rewrites it to be about the engine itself: three pillars (validate / cover / ingest), pipeline diagram, workflow links, and a status panel that mirrors the dump manifest once refresh-data has run. The public dataset playground lives in TechAPI now.
1 parent 975b292 commit 611f42c

3 files changed

Lines changed: 176 additions & 299 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
 Code: **MIT** · Data: lives in **[TechAPI](https://github.com/GetTechAPI/TechAPI)** (CC-BY-SA 4.0)
77

88
TechEngine owns everything *around* the data: schema validation, the FastAPI
9-
read API, the PokeAPI-style static JSON dump, the Astro intro/playground site,
9+
read API, the PokeAPI-style static JSON dump, the engine's own landing site,
1010
and (next up) automated coverage checks and a weekly ingestion crawler.
1111

12-
The data itself stays in [TechAPI](https://github.com/GetTechAPI/TechAPI) so it
13-
can be versioned, mirrored, and licensed independently.
12+
The dataset and the public-facing playground site live in
13+
[TechAPI](https://github.com/GetTechAPI/TechAPI) so each can be versioned,
14+
mirrored, and licensed independently. The site shipped in this repo is the
15+
engine's own landing — what TechEngine is, what it runs, link out to docs.
1416

1517
## Layout
1618

@@ -25,12 +27,12 @@ app/
2527
├ schemas/ # Pydantic response models
2628
└ services/ # scoring (algorithm_version-tagged)
2729
tests/ # unit + integration
28-
site/ # Astro homepage + playground (deployed to Pages)
30+
site/ # Astro engine landing (deploys to Pages)
2931
docs/ # SPEC / DATA_PIPELINE / DEVELOPMENT
3032
.github/workflows/
3133
├ validate-data.yml # workflow_call: PR-time data validation for TechAPI
3234
├ refresh-data.yml # cron: regenerate the static dump weekly
33-
├ deploy-pages.yml # build & deploy Astro site + dump
35+
├ deploy-pages.yml # build & deploy engine site + dump
3436
└ test.yml # lint + type-check + tests
3537
```
3638

site/src/pages/docs.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const openapiUrl = `${base}openapi.json`;
88
<head>
99
<meta charset="utf-8" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1" />
11-
<title>TechAPI — API reference</title>
11+
<title>TechEngine — API reference (TechAPI v1)</title>
1212
</head>
1313
<body>
1414
<!-- Interactive OpenAPI reference, rendered client-side from the static spec. -->

0 commit comments

Comments
 (0)