mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
2a943d8f25
Created comprehensive documentation for AI assistants working on the Coolify docs codebase, including: - Service documentation naming conventions (kebab-case lowercase) - Source of truth (service-templates-latest.json) - Files that must be updated when renaming services - Procedures for adding, renaming, and disabling services - Important notes about maintaining consistency This documentation ensures AI assistants understand the relationship between service files, List.vue slugs, and nginx redirects. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3.3 KiB
3.3 KiB
Claude Code Context
This file provides important context for AI assistants (like Claude) working on the Coolify documentation codebase.
Service Documentation Naming Conventions
File Naming Rules
Service documentation files in docs/services/ must follow these conventions:
- Use kebab-case lowercase for all filenames
- Match the base service name from
service-templates-latest.jsonin the main Coolify repository - Do not use camelCase even if the JSON template uses it (e.g.,
denoKV→denokv.md) - Include version numbers when specified in the JSON (e.g.,
mautic5.mdnotmautic.md) - Use compound names when the JSON specifies them (e.g.,
ente-photos.mdnotente.md)
Source of Truth
The authoritative source for service names is:
https://raw.githubusercontent.com/coollabsio/coolify/refs/heads/v4.x/templates/service-templates-latest.json
When adding or renaming services, always check this file first.
Related Files That Must Be Updated
When renaming a service documentation file, you must update:
- nginx/redirects.conf - Add redirect rules from old URLs to new URLs
- docs/.vitepress/theme/components/Services/List.vue - Update the
slugproperty to match new filename - Any internal links in other documentation files
Disabled Services
Services that are deprecated or temporarily unavailable should:
- Keep their documentation file
- Add
disabled: trueto the frontmatter - Optionally include a warning message in the content
Example:
---
title: "Service Name"
description: "Service description"
disabled: true
---
Service Categories
Services are organized into categories. When adding new services, refer to existing services in the same category for consistency.
File Structure
docs/
├── services/
│ ├── introduction.md # Overview of services
│ ├── overview.md # Interactive services list
│ ├── all.md # Complete categorized directory
│ ├── service-name.md # Individual service documentation
│ └── ...
├── .vitepress/
│ └── theme/
│ └── components/
│ └── Services/
│ └── List.vue # Services list component with hardcoded slugs
└── ...
nginx/
└── redirects.conf # URL redirect rules
Common Tasks
Adding a New Service
- Create
docs/services/service-name.mdfollowing existing format - Add entry to
docs/.vitepress/theme/components/Services/List.vue - Verify service name matches the JSON template
Renaming a Service
- Rename the service documentation file
- Update slug in
docs/.vitepress/theme/components/Services/List.vue - Add redirect rule in
nginx/redirects.conf - Search for any internal links referencing the old name
Disabling a Service
- Add
disabled: trueto frontmatter in the service documentation file - Optionally add warning message in content
- Keep the file - do not delete it
- Keep nginx redirects pointing to it
Important Notes
- Never use camelCase for filenames, even if the JSON template does
- Always check the JSON template before naming services
- Update all three locations when renaming: file, List.vue, redirects.conf
- Maintain redirect rules even for deleted services to prevent 404 errors