git clone https://github.com/ankurgajurel/docstech.git
cd docstechbun installbun devYour docs site is now running at http://localhost:3000 with hot module replacement. Content changes are reflected instantly without a full rebuild.
docstech/
├── content/
│ └── docs/ # Your MDX documentation files (edit these)
│ ├── introduction.mdx
│ ├── installation.mdx
│ └── api/
│ └── rest.mdx
├── app/ # Next.js application routes
├── components/ # UI components
│ ├── ui/ # Design system primitives
│ └── sidebar/ # Navigation components
├── lib/ # Utilities and content pipeline
├── providers/ # React context providers
├── public/ # Static assets (logos, favicons)
├── next.config.ts
└── package.json
All your documentation lives in content/docs/. Create or edit .mdx files there. Each file needs frontmatter with a title and description:
---
title: Webhooks
description: Configure event-driven notifications for deployment and content lifecycle events.
---
# Webhooks
Subscribe to real-time events from the DocsTech platform.
Webhooks are delivered as POST requests with a signed payload.That's it — the build pipeline picks up new files, adds them to the navigation tree, and renders them as fully styled pages.
File paths inside content/docs/ map directly to URL routes:
content/docs/introduction.mdx → /docs/introductioncontent/docs/api/rest.mdx → /docs/api/restcontent/docs/guides/webhooks.mdx → /docs/guides/webhooksTo add pages to the sidebar, edit the navigation config at components/sidebar/navigation.ts. Group pages by section and assign icons.
bun run buildThe output is a static export ready for deployment to any CDN, edge network, or container runtime.