Commit Graph

11 Commits

Author SHA1 Message Date
Vinta Chen
280f250ce0 feat: migrate README parser to markdown-it-py and refresh website
Switch readme_parser.py from regex-based parsing to markdown-it-py for
more robust and maintainable Markdown AST traversal. Update build pipeline,
templates, styles, and JS to support the new parser output. Refresh GitHub
stars data and update tests to match new parser behavior.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-18 20:33:36 +08:00
Vinta Chen
45391b84e9 build: simplify Makefile targets and add live-reload preview
Rename site_* targets to bare names (install, fetch_stats, build,
preview). Replace the static preview target with a watchmedo-driven
live-reload loop so file changes trigger automatic rebuilds. Make
the output directory creation idempotent (exist_ok=True) and static
copy incremental (dirs_exist_ok=True) so repeated builds don't wipe
output on each run.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-18 18:28:27 +08:00
Vinta Chen
87a16f47ea build: load .env in Makefile and rename fetch_stars to site_fetch_stats
Adds -include .env with export so environment variables (e.g. GitHub
token) are available to uv commands without manual export. Renames the
target to match the site_ prefix convention used by the other targets.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-18 13:57:32 +08:00
Vinta Chen
177183d9bd add custom website build system
Replaces MkDocs with a bespoke Python site generator using Jinja2 templates
and Markdown. Adds uv for dependency management, GitHub Actions workflow for
deployment, and Makefile targets for local development (fetch_stars, build,
preview, deploy).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-18 13:48:49 +08:00
Vinta
97dd41712a update Makefile 2019-03-03 00:06:09 +08:00
Vinta
21ab061232 update mkdocs config 2018-04-11 02:11:11 +08:00
Vinta
02a72b1ffb pip install mkdocs-material specifictly 2017-11-23 01:51:46 +08:00
Vinta
ca9220cee7 fancy theme: mkdocs-material
https://github.com/squidfunk/mkdocs-material
2017-10-27 04:13:31 +08:00
Vinta
0d3f958760 update Makefile 2017-04-24 21:16:43 +08:00
Vinta
4f55f2da5a fix Makefile 2015-06-09 19:19:41 +08:00
Vinta
65ef34f2d2 use MkDocs to generate a static website 2015-06-07 03:36:52 +08:00