mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 22:03:12 +08:00
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>
15 lines
286 B
Makefile
15 lines
286 B
Makefile
site_install:
|
|
uv sync --no-dev
|
|
|
|
fetch_stars:
|
|
uv run python website/fetch_github_stars.py
|
|
|
|
site_build:
|
|
uv run python website/build.py
|
|
|
|
site_preview: site_build
|
|
python -m http.server -d website/output/ 8000
|
|
|
|
site_deploy: site_build
|
|
@echo "Deploy via GitHub Actions (push to master)"
|