add ended contests

This commit is contained in:
hanyixuanten
2026-07-20 19:10:16 +08:00
parent 41aa3b6886
commit 7d526b8b6a
4 changed files with 49 additions and 8 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ Guidance for AI coding agents working in this repository.
- `fetch_contests.py` is the data generator. It fetches contests, normalizes records with `platform`, `title`, `start_time`, `end_time`, `status`, and `url`, then writes JSON files in the repository root.
- `.github/workflows/deploy.yml` is the GitHub Actions automation. It installs Python dependencies, runs `fetch_contests.py`, and commits generated JSON changes.
- `server/index.php` is the serving/display layer. It reads the public raw `contests.json`, caches it locally, and renders the upcoming contest page.
- `server/index.php` is the serving/display layer. It reads the public raw `contests.json` and `contests_all.json`, caches them locally, and renders upcoming plus recently finished contests.
- User-facing documentation lives in [README.md](README.md) and [README_zh.md](README_zh.md). Keep both languages in sync.
## Actions vs Server Responsibilities