Site Module
VitePress website module for https://itznotabug.dev.
What Lives Here
.vitepress/: VitePress config and custom Vue theme.blog/: all blog Markdown content.public/: static assets copied as-is at build time.- Root markdown pages:
index.mdabout.mdblog.mdcontact.mdwork.md
- Routing config:
redirects.tsquery-params.json
Build Flow
From repository root, bun run build performs:
scripts/prebuild.js:- updates
.htaccessredirect/query rules (scripts/redirects.js) - updates service worker cache version and pre-cache image list (
scripts/worker.js) - regenerates
site/public/llms.txt(scripts/llms.js)
- updates
vitepress build site- HTML/CSS minification pass (
scripts/minify.js)
Output:
site/.vitepress/dist/
Local Development
Run from repository root:
bash
bun run devThis starts VitePress with site/ as docs root.
Content Authoring
Create a new post from template:
bash
bun run postThis command updates:
site/blog/<slug>.md- previous post
nextmetadata linkage
Key Theme Areas
- Tech stack UI:
site/.vitepress/theme/components/tech/ - Contact + Cal widget:
site/.vitepress/theme/components/contact/ - Work timeline:
site/.vitepress/theme/components/work/ - Analytics utilities:
site/.vitepress/theme/utils/
