The official documentation site for Deepcomet AI, built with Astro, Starwind UI, and Tailwind CSS.
Live Site: docs.deepcomet.space
- Framework: Astro v6 — Static Site Generation (SSG)
- UI Components: Starwind UI — shadcn/ui for Astro
- Styling: Tailwind CSS v4
- Markdown Processing: marked + gray-matter
- Syntax Highlighting: highlight.js
- Fonts: Inter + JetBrains Mono
/
├── public/ # Static assets (CNAME, .nojekyll, favicon)
├── scripts/
│ └── build-search-index.ts # Search index generator
├── src/
│ ├── components/
│ │ ├── starwind/ # Starwind UI components
│ │ ├── DocsHeader.astro # Header with search
│ │ ├── DocsSidebar.astro # Navigation sidebar
│ │ └── DocsTOC.astro # Table of contents
│ ├── content/
│ │ ├── getting-started/ # Getting started docs
│ │ ├── essentials/ # Core tech docs
│ │ └── ai/ # AI & infrastructure docs
│ ├── layouts/
│ │ └── DocsLayout.astro # Docs page layout
│ ├── lib/
│ │ └── content.ts # Markdown parsing utilities
│ ├── pages/
│ │ ├── index.astro # Homepage
│ │ └── [...slug].astro # Dynamic doc pages
│ └── styles/
│ └── starwind.css # Theme & Tailwind config
├── .github/workflows/
│ └── deploy.yml # GitHub Pages deployment
├── astro.config.mjs
└── package.json
- Full Static Site Generation — No server runtime required
- Client-side Search — Full-text search across all docs with highlighted results
- Responsive Sidebar — Collapsible navigation sections with active state
- Table of Contents — Auto-generated from headings with scroll spy
- Breadcrumbs — Hierarchical page navigation
- Syntax Highlighting — Code blocks with dark theme
- GitHub Pages — Automated deployment on every push to
main - Custom Domain —
docs.deepcomet.spacewith CNAME
# Install dependencies
pnpm install
# Start dev server
pnpm dev
# Build for production
pnpm build
# Preview production build
pnpm preview- Create a new
.mdfile insrc/content/<category>/ - Add frontmatter:
--- title: Page Title description: Brief description order: 1 ---
- Write content in Markdown
- Rebuild to generate search index
The site automatically deploys to GitHub Pages on every push to main.
Custom Domain: docs.deepcomet.space
To deploy manually:
pnpm build
# dist/ folder is ready for deployment