Skip to content

Repository files navigation

Deepcomet AI Documentation

Deploy

The official documentation site for Deepcomet AI, built with Astro, Starwind UI, and Tailwind CSS.

Live Site: docs.deepcomet.space

Tech Stack

Project Structure

/
├── 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

Features

  • 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 Domaindocs.deepcomet.space with CNAME

Getting Started

# Install dependencies
pnpm install

# Start dev server
pnpm dev

# Build for production
pnpm build

# Preview production build
pnpm preview

Adding Documentation

  1. Create a new .md file in src/content/<category>/
  2. Add frontmatter:
    ---
    title: Page Title
    description: Brief description
    order: 1
    ---
  3. Write content in Markdown
  4. Rebuild to generate search index

Deployment

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

License

MIT

About

The official documentation site for Deepcomet AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages