Skill站外收录 @skilllib/skill-2117939930272412497
disabling-services
通过标记禁用状态和添加警示信息,实现服务文档的逻辑隐藏与可用性管理,在不影响 SEO 和历史访问的前提下,从列表中移除特定服务展示,同时保留页面内容及跳转链接的持续生效。
文档处理 AI 技能
Skills.MD
# Disable Service Documentation
This skill guides you through hiding a service from the documentation listing while preserving the documentation page for SEO and users who find it via search.
## When to Use This Skill
- Service is deprecated in Coolify
- Service is temporarily unavailable
- Service is removed from Coolify's service catalog
- Service has been replaced by another service
## Why Keep the Documentation File?
**DO NOT delete the documentation file.** Keep it because:
1. **SEO preservation** - Users may find the page via search engines
2. **Bookmark support** - Users may have bookmarked the page
3. **Historical reference** - Users may need to understand what the service was
4. **Future reinstatement** - Service may become available again
## Step-by-Step Process
### 1. Add `disabled: true` to List.vue
Edit `docs/.vitepress/theme/components/Services/List.vue`:
```javascript
{
name: 'Service Name',
slug: 'service-name',
icon: '/docs/images/services/service-logo.svg',
description: 'Service description',
category: 'Category',
disabled: true // ← Add this line
},
```
This hides the service from the services listing page but keeps the documentation accessible via direct URL.
### 2. Add Warning Callout to Documentation
Edit the service's markdown file (`docs/services/service-name.md`):
Add a warning callout at the **top** of the content (after frontmatter):
```markdown
---
title: "Service Name"
description: "..."
---
::: warning SERVICE NOT AVAILABLE
This service is currently not available in Coolify's service catalog.
:::
# Service Name
...
```
### 3. Optional: Add Context
If you know why the service is unavailable, add context:
```markdown
::: warning SERVICE DEPRECATED
This service has been deprecated and replaced by [New Service](/services/new-service).
Please use the new service for all new deployments.
:::
```
Or for temporary unavailability:
```markdown
::: warning TEMPORARILY UNAVAILABLE
This service is temporarily unavailable due to upstream changes.
We're working on bringing it back. Check the [Coolify changelog](https://coolify.io/changelog) for updates.
:::
```
### 4. Keep Redirects (If Any)
If the service had any redirects pointing to it in `nginx/redirects.conf`, **keep them**. They ensure users reaching old URLs still find the page.
## Warning Message Templates
### Generic unavailable
```markdown
::: warning SERVICE NOT AVAILABLE
This service is currently not available in Coolify's service catalog.
:::
```
### Deprecated with replacement
```markdown
::: warning SERVICE DEPRECATED
This service has been deprecated and replaced by [Alternative Service](/services/alternative).
Please migrate to the new service.
:::
```
### Temporarily removed
```markdown
::: warning TEMPORARILY UNAVAILABLE
This service is temporarily unavailable. Check the [Coolify Discord](https://discord.gg/coolify) for updates on when it will return.
:::
```
### Removed due to issues
```markdown
::: danger SERVICE REMOVED
This service has been removed from Coolify due to [reason].
If you were using this service, please [migration instructions or alternative].
:::
```
## Verification Checklist
After disabling, verify:
- [ ] `disabled: true` added to service entry in List.vue
- [ ] Warning callout added to markdown file
- [ ] Documentation file still exists (NOT deleted)
- [ ] Service no longer appears in listing at http://localhost:5173/docs/services/
- [ ] Direct URL still works: http://localhost:5173/docs/services/service-name
- [ ] Warning is visible at top of page
## Re-enabling a Service
To make a service available again:
1. Remove `disabled: true` from List.vue (or set to `false`)
2. Remove the warning callout from the markdown file
3. Update any "deprecated" or "unavailable" messaging
## Example: Full Disabled Service
**List.vue entry:**
```javascript
{
name: 'Legacy Service',
slug: 'legacy-service',
icon: '/docs/images/services/legacy-service-logo.svg',
description: 'A service that is no longer available.',
category: 'Utilities',
disabled: true
},
```
**Documentation file:**
```markdown
---
title: "Legacy Service"
description: "Documentation for Legacy Service on Coolify."
---
::: warning SERVICE DEPRECATED
This service has been deprecated as of January 2025 and is no longer available in Coolify.
Consider using [Alternative Service](/services/alternative) instead.
:::
# Legacy Service

## What was Legacy Service?
Legacy Service was a tool for... [rest of documentation]
```
## Related Skills
- `adding-service-documentation` - For creating new service docs
- `renaming-services` - For renaming services
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「disabling-services」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次