Project Site
The public Vigilyx website and docs live in site/ and are built with VitePress.
What gets committed
This repository stores only the site source:
site/index.mdsite/docs/*.mdsite/.vitepress/*site/public/*
Generated output such as site/.vitepress/dist is ignored and is not committed to the repository.
How publishing works
GitHub Pages is deployed through the workflow at .github/workflows/pages.yml.
The workflow:
- Installs the
site/dependencies - Builds the VitePress output
- Uploads the built artifact to GitHub Pages
- Deploys without committing
distback into the repository
This keeps the main branch clean while still letting the site source stay versioned with the product code.
Default URL
Without a custom domain, the site is published under the repository path:
https://herbiusyang.github.io/Vigilyx/The docs root is:
https://herbiusyang.github.io/Vigilyx/docs/The Simplified Chinese site is:
https://herbiusyang.github.io/Vigilyx/zh/Custom domain variables
The workflow supports three repository variables.
PAGES_CUSTOM_DOMAIN
Use this when you want the site to publish at the domain root, for example:
vigilyx.example.comIf this variable is set, the workflow writes CNAME automatically and uses / as the site base path.
PAGES_SITE_URL
Use this when you want to override the final canonical URL explicitly.
Example:
https://docs.vigilyx.example.com/PAGES_BASE_PATH
Use this only when the published site should live under a path prefix.
Example:
/Vigilyx/Local preview
Run the site locally from the repository root:
cd site
npm ci
npm run devTo build it locally:
cd site
npm run build