The Mira website, built with Mira. Served at https://mira.omrajguru.site.
The public build is a coming soon page. The full documentation is in
content/docs/ and routes/docs/, marked draft: true: it shows in
mira dev and is left out of mira build until launch.
mira dev
Serves the site with live reload at http://localhost:4321, drafts included.
GitHub’s runners cannot build the site while Mira is private, so the built output is committed:
mira build
git add dist && git commit -m "Build" && git push
A push that changes dist/ runs .github/workflows/pages.yml, which
publishes dist/ to GitHub Pages. It can also be run by hand from the
Actions tab.
mira.omrajguru.site:
CNAME to omrajguru05.github.io.mira.omrajguru.site, wait for the DNS check, then turn on
Enforce HTTPS.To use another domain, change public/CNAME and site.url in
mira.config.json, rebuild, and update steps 2 and 3.
| Path | Contents |
|---|---|
routes/index.mira |
The landing page |
routes/docs/ |
Docs routes (drafts) |
content/docs/ |
Docs pages (drafts) |
data/docs.json |
Docs navigation |
layouts/default.mira |
Layout for docs pages |
public/fonts/ |
Bricolage Grotesque, Geist, Geist Mono, Pixelify Sans (SIL Open Font License) |
dist/ |
Build output, committed for Pages |