Skip to content

gulleyjeremy/docs

Repository files navigation

Rhombus Developer Documentation

Official developer documentation for the Rhombus API. Built with Mintlify for a modern, interactive documentation experience.

πŸ“š About

This repository contains the complete developer documentation for Rhombus Systems, including:

  • 846+ API Endpoints: Comprehensive coverage of all Rhombus API endpoints
  • Implementation Guides: Real-world examples for video streaming, webhooks, and access control
  • Interactive Components: Code examples, tabs, expandable sections, and more
  • Auto-Generated Content: Nightly synchronization with production API via OpenAPI specification
  • AI Integration: MCP server support, context files, and AI tool compatibility

πŸš€ Quick Start

Prerequisites

Local Development

  1. Install Mintlify CLI globally:

    npm i -g mint
  2. Navigate to the docs directory:

    cd docs
  3. Start the development server:

    mint dev
  4. View your local preview: Open http://localhost:3000 in your browser

  5. Use a custom port (if needed):

    mint dev --port 3333

πŸ“– Documentation Structure

docs/
β”œβ”€β”€ docs.json                 # Main configuration
β”œβ”€β”€ index.mdx                 # Homepage
β”œβ”€β”€ quickstart.mdx           # Getting started guide
β”œβ”€β”€ changelog.mdx            # Update history with RSS
β”œβ”€β”€ documentation-mcp.mdx    # MCP server guide
β”œβ”€β”€ implementations/         # Implementation examples
β”œβ”€β”€ low-code-no-code/       # Zapier and no-code guides
β”œβ”€β”€ api-reference/          # API documentation
β”‚   β”œβ”€β”€ openapi.json        # Full OpenAPI spec
β”‚   β”œβ”€β”€ openapi-split/      # Split specs for AI tools
β”‚   └── endpoint/           # Generated endpoint docs
β”œβ”€β”€ scripts/                # Automation scripts
β”‚   β”œβ”€β”€ update-openapi.sh   # Update OpenAPI spec
β”‚   β”œβ”€β”€ split-openapi.sh    # Split spec into categories
β”‚   └── update-llms-files.py # Update AI context files
└── .github/workflows/      # Automated workflows

πŸ› οΈ Common Commands

Development

# Start local development server
mint dev

# Update Mintlify CLI to latest version
mint update

# Validate all links
mint broken-links

Maintenance

# Update OpenAPI specification from Rhombus API
./scripts/update-openapi.sh

# Split OpenAPI spec into category files
./scripts/split-openapi.sh

# Update AI assistant context files
python3 scripts/update-llms-files.py

πŸ€– Automated Workflows

This repository includes several GitHub Actions workflows that run automatically:

Update OpenAPI Spec

  • Schedule: Daily at 2:00 AM UTC
  • Purpose: Fetches latest API spec from production
  • File: .github/workflows/update-openapi.yml
  • Output: Updates api-reference/openapi.json and split files

Update LLMs Context Files

  • Schedule: Daily at 3:00 AM UTC
  • Purpose: Updates AI assistant context files
  • File: .github/workflows/update-llms-files.yml
  • Output: Updates llms.txt and llms-full.txt

πŸ“ Content Guidelines

Adding New Pages

  1. Create an .mdx file in the appropriate directory
  2. Add frontmatter with title, description, and optional icon
  3. Add the page to docs.json navigation
  4. Use Mintlify components for rich content

Frontmatter Format

---
title: "Page Title"
description: "Brief description for SEO"
icon: "icon-name"
---

Available Components

  • Callouts: <Note>, <Tip>, <Warning>, <Info>, <Check>
  • Structure: <Steps>, <Tabs>, <AccordionGroup>, <Card>, <CardGroup>
  • Code: <CodeGroup>, <RequestExample>, <ResponseExample>
  • API: <ParamField>, <ResponseField>, <Expandable>
  • Media: <Frame> (for images), <video>, <iframe>

πŸ”— Important Links

🀝 Contributing

Reporting Issues

Found a bug or have a suggestion? Report it at:

Making Changes

  1. Create a feature branch
  2. Make your changes
  3. Test locally with mint dev
  4. Run mint broken-links to validate
  5. Submit a pull request

πŸ“š Documentation Resources

  • CLAUDE.md: Guidance for Claude Code AI assistant
  • AUTOMATION.md: Complete automation workflow documentation
  • WORKFLOW_FIXES.md: OpenAPI workflow troubleshooting guide
  • scripts/README.md: Detailed script documentation

πŸ”§ Troubleshooting

Development Server Not Starting

# Update Mintlify CLI
mint update

# Ensure you're in the correct directory
cd docs

# Try with verbose output
mint dev --verbose

Page Loads as 404

  • Verify the page exists in docs.json navigation
  • Check file path matches navigation entry
  • Ensure .mdx extension is correct

Broken Links

# Check for broken links
mint broken-links

# View specific broken links
mint broken-links --verbose

OpenAPI Update Issues

# Test API availability
curl -I https://api2.rhombussystems.com/api/openapi/public.json

# Manual update
./scripts/update-openapi.sh

# Check workflow logs
gh run list --workflow=update-openapi.yml

πŸ“Š Project Statistics

  • API Endpoints: 846+
  • Documentation Pages: 100+
  • API Categories: 60+
  • Update Frequency: Daily (automated)
  • Languages Supported: cURL, Python, JavaScript, Go

🎯 Features

For Developers

  • βœ… Complete API reference with all endpoints
  • βœ… Interactive code examples in multiple languages
  • βœ… Real-world implementation guides
  • βœ… Webhook integration examples
  • βœ… Video player setup with HLS streaming

For AI Tools

  • βœ… MCP server integration
  • βœ… Claude Code compatibility
  • βœ… Cursor editor support
  • βœ… Auto-generated context files (llms.txt)
  • βœ… Split OpenAPI specs for token efficiency

For Maintainers

  • βœ… Automated OpenAPI sync
  • βœ… Automated context file updates
  • βœ… Link validation
  • βœ… GitHub Actions workflows
  • βœ… Comprehensive error handling

πŸ“ž Support

πŸ“„ License

See LICENSE file for details.

🏒 About Rhombus

Rhombus is a security platform built on an API-first architecture since 2016. Everything in our system can be done via the Rhombus API - the same endpoints power our mobile apps, web console, and firmware.

Visit rhombus.com to learn more.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •