mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-12-03 03:36:15 +08:00
pages.yml has failed 75/75 runs since landing: actions/configure-pages@v5 gets 'Get Pages site failed ... Not Found' because GitHub Pages was never enabled on this repo (the earlier enablement:true attempt was reverted without a recorded reason — not re-applied here). Stop-the-bleed per #4598 option 1: drop the push trigger, keep manual workflow_dispatch so the deploy path stays intact and no website push red-lines master again. Final direction (re-enable Pages vs retire the workflow vs in-install serving) awaits owner decision.
1.5 KiB
1.5 KiB
website — billion-context site
Static landing page + docs. No build step, no dependencies — plain HTML/CSS/JS.
Deployed to GitHub Pages by
.github/workflows/pages.yml — manual workflow_dispatch only for now: the repo
has no GitHub Pages site yet, so auto-deploy on push is suspended (#4598).
Local preview
cd website
python3 -m http.server 8090
# → http://127.0.0.1:8090/
All asset references are relative so the pages work under any mount path
(https://<user>.github.io/<repo>/, subfolder, nginx root, custom domain).
Files
| file | purpose |
|---|---|
index.html |
landing page; EN strings are the default |
styles.css |
design system, light/dark via prefers-color-scheme |
main.js |
EN/中文 toggle (persisted in localStorage), copy buttons, scroll reveal |
docs/index.html |
bilingual /docs/ page |
TODO before launch
- Add
og.png(1200×630 social card); already referenced from both pages. - Custom domain: once confirmed, add a
CNAMEfile here (e.g.billion-context.com), enable HTTPS in GitHub Pages settings, and update thecanonical/og:urlplaceholders inindex.html+docs/index.html. Relative links keep working — nothing else changes.