This website is built using Docusaurus, a modern static website generator.
npm installNote: feel free to use the package manager of your choice.
npm run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
Pushing to main automatically builds the site and deploys the build
directory to GitHub Pages. The workflow can also be started manually from the
repository's Actions tab.
Before the first deployment:
- Open Settings > Pages in the GitHub repository.
- Under Build and deployment, set Source to GitHub Actions.
- Set the custom domain to
docs.usthing.xyz. - At the DNS provider, point the
docsCNAME record toUSThing.github.io(without/docs). This replaces the previouspvs0068.ust.hktarget. - Enable Enforce HTTPS once GitHub has verified the DNS record.
The deployment configuration lives in .github/workflows/deploy.yml.