Modern, responsive documentation site for CollabOps - streamlining team collaboration and operations.
π Live Site: docs.collabops.ai
π Repository: CollabOps/collabops-docs
- π¨ Modern CollabOps Branding - Custom design system with Primary Blue (#2563EB), Secondary Teal (#0D9488), and Accent Orange (#F97316)
- π Fast Local Search - Instant search functionality with highlighted results and contextual previews
- π± Fully Responsive - Optimized for desktop, tablet, and mobile devices with mobile-first design
- π Dark/Light Mode - Complete theme support with automatic system preference detection
- βΏ Accessibility First - WCAG 2.1 compliant with keyboard navigation and screen reader support
- β‘ Performance Optimized - Fast loading times with optimized assets and caching strategies
- π Auto Deployment - Continuous deployment via Vercel with GitHub integration
- π Rich Documentation - Comprehensive guides for API, self-hosting, and getting started
- Framework: Docusaurus 3.8.1 with TypeScript
- Styling: Custom CSS with modern design system and responsive breakpoints
- Search: @easyops-cn/docusaurus-search-local for client-side search
- Deployment: Vercel with automatic builds from GitHub
- DNS: Cloudflare with CDN and security features
- Fonts: Inter (body text) and JetBrains Mono (code blocks)
Before you begin, ensure you have the following installed:
git clone https://github.com/CollabOps/collabops-docs.git
cd collabops-docsnpm installnpm startThis command starts a local development server and opens up a browser window at http://localhost:3000. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
npm run servecollabops-docs/
βββ docs/ # Documentation content
β βββ intro.md # Introduction page
β βββ getting-started.md # Getting started guide
β βββ deployment-guide.md # Deployment guide
β βββ api/ # API documentation
β β βββ index.md # API overview
β β βββ authentication.md # Authentication guide
β βββ self-hosting/ # Self-hosting guides
β β βββ index.md # Self-hosting overview
β β βββ helm.md # Helm chart guide
β βββ faq/ # Frequently asked questions
β βββ index.md # FAQ overview
β βββ common.md # Common questions
βββ blog/ # Release notes and blog posts
βββ src/ # Source files
β βββ css/ # Custom styling
β βββ custom.css # Main CSS file with CollabOps design system
β βββ search-local.css # Search functionality styling
βββ static/ # Static assets (images, favicons, etc.)
βββ docusaurus.config.ts # Docusaurus configuration
βββ sidebars.ts # Sidebar navigation configuration
βββ package.json # Project dependencies and scripts
The documentation site uses CollabOps' custom design system:
/* Primary Colors */
--ifm-color-primary: #188BFF; /* Primary/500 - Main brand blue */
--collabops-secondary: #44E4AF; /* Green-1 - Bright secondary */
--collabops-accent: #F9A825; /* Yellow-1 - Accent color */
/* Status Colors */
--ifm-color-success: #1D8235; /* Green-2 - Success state */
--ifm-color-warning: #F9A825; /* Yellow-1 - Warning state */
--ifm-color-danger: #F74632; /* Red-2 - Error state */
--ifm-color-info: #188BFF; /* Primary/500 - Info state */- Body Text: Inter font family for excellent readability
- Code Blocks: JetBrains Mono for enhanced developer experience
- Responsive Scaling: Automatic font size adjustments for mobile devices
- Navbar: Backdrop blur effect with CollabOps branding
- Sidebar: Smooth hover animations with proper spacing
- Search: Custom-styled search modal with gradient header
- Cards: Interactive hover effects with shadow elevations
- Code Blocks: Syntax highlighting with CollabOps color scheme
- Create a new markdown file in the appropriate
docs/subdirectory - Add frontmatter with title, description, and sidebar position:
---
sidebar_position: 1
title: Your Page Title
description: Brief description of the page content
---
# Your Page Title
Your content here...- Update navigation in
sidebars.tsif needed - Test locally with
npm start - Commit and push - Vercel will auto-deploy
- Use clear, concise headings with proper hierarchy (H1 β H2 β H3)
- Include code examples with proper syntax highlighting
- Add screenshots or diagrams when helpful (place in
static/img/) - Follow consistent formatting for links, lists, and tables
- Test all links and anchors before publishing
Docusaurus supports extended markdown features:
:::tip Pro Tip
This is a tip callout box.
:::
:::warning Important
This is a warning callout box.
:::
```javascript title="example.js"
// Code blocks with title and syntax highlighting
console.log('Hello, CollabOps!');import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
npm install package-name yarn add package-name ```The site automatically deploys to production when changes are pushed to the main branch:
- GitHub Action triggers on push to
main - Vercel builds the site using
npm run build - Deployment goes live at docs.collabops.ai
- CDN Cache is automatically purged via Cloudflare
For manual deployments or testing:
# Build the site
npm run build
# Deploy to Vercel (requires Vercel CLI)
npx vercel --prodThe site uses the following production configuration:
-
Domain: docs.collabops.ai
-
SSL: Automatic HTTPS via Vercel + Cloudflare
-
CDN: Cloudflare with global edge caching
-
Search Index: Generated during build process
We welcome contributions to improve the CollabOps documentation! Here's how you can help:
- Fix typos or grammar - Submit small fixes directly via GitHub's web editor
- Update content - Keep documentation current with the latest features
- Add examples - Include practical code examples and use cases
- Read our Contributing Guidelines
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name - Make your changes and test locally
- Submit a pull request with a clear description
- Documentation Issues: GitHub Issues
- Product Issues: Main CollabOps Issues
- Feature Requests: Discussions
npm start # Start development server
npm run build # Build for production
npm run serve # Serve production build locally
npm run clear # Clear Docusaurus cache
npm run typecheck # Run TypeScript type checkingThe search functionality uses a local search plugin that indexes content during build:
- Index Generation: Automatic during
npm run build - Search Scope: Docs and blog content (excludes static pages)
- Languages: English (configurable in
docusaurus.config.ts) - Customization: Search styling in
src/css/search-local.css
Build Issues:
# Clear cache and reinstall dependencies
npm run clear
rm -rf node_modules package-lock.json
npm installSearch Not Working:
- Ensure search index is generated during build
- Check browser console for JavaScript errors
- Verify search plugin configuration in
docusaurus.config.ts
Styling Issues:
- Check CSS custom properties in
src/css/custom.css - Verify dark/light mode variable definitions
- Test responsive breakpoints at 768px and 996px
- Documentation Team: GitHub Issues
- CollabOps Support: Main Repository
- Community: GitHub Discussions
This documentation is part of the CollabOps project. See the main CollabOps repository for license information.
Built with β€οΈ by the CollabOps team