This directory is ready to publish as a standalone GitHub Pages repository.
Create a new GitHub repository and push the contents of this docs/ directory as the repository root.
Suggested repository names:
<your-user-name>.github.iosunmax-site
- Create an empty repository on GitHub
- Open a terminal in
docs/ - Initialize Git and connect the remote
- Push to
main - In GitHub, open
Settings > Pages - Set
SourcetoGitHub Actions
cd d:\Claude\docs
git init
git branch -M main
git add .
git commit -m "Initial site publish"
git remote add origin https://github.com/<your-user-name>/<your-repo-name>.git
git push -u origin main- The blog uses
fetch, so it must be served over HTTP. GitHub Pages is fine. - For local verification, run
python serve.pyindocs/. This server fixes module MIME types for.jsand.wasm. - New blog posts should be added under
blog/posts/yyyymmdd_nn/. - After adding a post, also update
blog/posts.json. - To enable Google Analytics 4, either set
window.SUNMAX_ANALYTICS.googleAnalyticsMeasurementIdinanalytics-config.jsor define the repository variableGOOGLE_ANALYTICS_MEASUREMENT_ID.
