Get Started
Add a page
Create a new .mdx file in the content/ directory:
content/my-page.mdx
# My Page
Your content here.Register it in content/_meta.js to control sidebar order and titles.
Local development
npm install
npm run devOpen http://localhost:3000 in your browser.
Deploy to GitHub Pages
- Create a GitHub repository named
hyperreal. - Push this project to the
mainbranch. - In the repository settings, set Pages → Build and deployment → Source to GitHub Actions.
- Push to
main— the included workflow builds and publishes the static site.
Custom domain
The site is configured to serve from the root of a custom domain, set by
public/CNAME. Point the apex domain at GitHub’s Pages IPs, then enable
Settings → Pages → Enforce HTTPS.
If you drop the custom domain and go back to USERNAME.github.io/hyperreal/,
restore basePath: '/hyperreal' and assetPrefix: '/hyperreal/' in
next.config.mjs — without them every asset 404s under the subpath.
Last updated on