Skip to content

hoophq/documentation

Repository files navigation

Hoop.dev Documentation

This documentation is built with Mintlify and uses Decap CMS for content management.

📁 Project Structure

documentation/
├── docs.json              # Mintlify configuration
├── admin/                 # Decap CMS interface
├── clients/               # Client documentation (CLI, Web App)
├── concepts/              # Core concepts
├── integrations/          # Available integrations
├── quickstart/            # Quick start guides
├── setup/                 # Configuration and deployment
├── store/                 # Connection templates and data
└── scripts/               # Automation scripts

🚀 Development

Prerequisites

Installation

# Install dependencies
npm install

# Install Mintlify CLI globally
npm i -g mint

Available Scripts

# Development server
npm run dev

# Build documentation
npm run build

# Process connection templates
npm run process-connections

Decap CMS (Development)

To use CMS in development:

# start development server at port 3000
npm run dev

# Initialize the Decap server
npx decap-server

📝 Contributing

  1. CMS Editing: Use /admin interface to edit content
  2. Connection Templates: Use store/connections/*.yml for connection configurations
  3. Run processing script: After YAML changes, run npm run process-connections
  4. Visit the documentation to see if the connection is available in the proper section
  5. Test it by replacing the store/connections.json to a Webapp dev instance. See the Webapp Docs for more information.
  6. Create a PR and merge to the main branch
  7. Create a new product release

The changes will be available in the next release on the Webapp

⚠️ Important: Quickstart Connection Guides

Quickstart MDX files related to connections should NOT be edited directly.

  • Edit via Decap CMS: Use /admin interface to modify connection configurations

Or

  • Edit YAML templates: Modify files in store/connections/*.yml directly

The connection quickstarts (like quickstart/databases/postgres.mdx) are generated from YAML templates and use the ConnectionTemplate component. Direct edits to these MDX files will be overwritten.

The section in the sidebar is not automated. Make sure to include the navigation in the docs.json file for your new connection.

🔧 Important Configurations

  • Theme: Configured in docs.json
  • Navigation: Structured in docs.json > navigation
  • Redirects: Configured in _redirects
  • Templates: Connections in store/connections/

📚 Resources


🐛 Issues? Make sure you're running in a folder with docs.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11