From b1d6b1aecc548dce3f6f07466c0cef92b61067f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E5=AE=87?= Date: Thu, 13 Nov 2025 17:16:02 +0800 Subject: [PATCH 1/3] docs(chatops): move rule management doc from configurations to chatops section Moved rule-management.md from 2.configurations/ to 3.chatops/ directory to better organize ChatOps-related documentation. Changes: - Moved: docs/content/2.configurations/8.rule-management.md -> docs/content/3.chatops/6.rule-management.md - Kept original route path (/oncall/config) unchanged - Removed backup file: docs/nuxt.config.js.bak Rationale: - Rule management is a core ChatOps feature - Should be documented under ChatOps section for better discoverability --- .../6.rule-management.md} | 2 +- docs/nuxt.config.js.bak | 24 ------------------- 2 files changed, 1 insertion(+), 25 deletions(-) rename docs/content/{2.configurations/8.rule-management.md => 3.chatops/6.rule-management.md} (99%) delete mode 100644 docs/nuxt.config.js.bak diff --git a/docs/content/2.configurations/8.rule-management.md b/docs/content/3.chatops/6.rule-management.md similarity index 99% rename from docs/content/2.configurations/8.rule-management.md rename to docs/content/3.chatops/6.rule-management.md index 70448a29..21f55ac5 100644 --- a/docs/content/2.configurations/8.rule-management.md +++ b/docs/content/3.chatops/6.rule-management.md @@ -11,7 +11,7 @@ navigation: 导航至:**ChatOps** → **内容识别规则** -或直接访问:`/oncall/config?botId=` +或直接访问:`/chatops/rule-management?botId=` ## 创建新规则 diff --git a/docs/nuxt.config.js.bak b/docs/nuxt.config.js.bak deleted file mode 100644 index e5a4e743..00000000 --- a/docs/nuxt.config.js.bak +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// docs/nuxt.config.js -export default { - extends: ['docus'], - app: { - baseURL: '/veaiops/' - }, - image: { - provider: 'none' - } -} From e8396b16e57b34745ff92f2271891a8c429755e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E5=AE=87?= Date: Thu, 13 Nov 2025 17:17:53 +0800 Subject: [PATCH 2/3] docs(nav): update navigation configs for rule management relocation Updated documentation navigation structure: - Removed rule management from configurations section - Added rule management to ChatOps section with complete navigation links Changes: - docs/content/2.configurations/.navigation.yml: Removed rule management entry - docs/content/3.chatops/.navigation.yml: Added all ChatOps links including rule management This aligns with the previous doc reorganization where rule-management.md was moved from configurations to chatops section. --- docs/content/2.configurations/.navigation.yml | 2 -- docs/content/3.chatops/.navigation.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/content/2.configurations/.navigation.yml b/docs/content/2.configurations/.navigation.yml index 9256425e..be16d74c 100644 --- a/docs/content/2.configurations/.navigation.yml +++ b/docs/content/2.configurations/.navigation.yml @@ -28,5 +28,3 @@ links: url: /2.configurations/6.subscribe - title: 历史事件 url: /2.configurations/7.history-event - - title: 规则管理 - url: /2.configurations/8.rule-management diff --git a/docs/content/3.chatops/.navigation.yml b/docs/content/3.chatops/.navigation.yml index 977d8f46..f4dd3767 100644 --- a/docs/content/3.chatops/.navigation.yml +++ b/docs/content/3.chatops/.navigation.yml @@ -13,3 +13,16 @@ # limitations under the License. title: ChatOps +links: + - title: 场景概述 + url: /3.chatops/1.overview + - title: 内容识别 Agent + url: /3.chatops/2.interest-agent + - title: 主动回复 Agent + url: /3.chatops/3.proactive-agent + - title: 被动回复 Agent + url: /3.chatops/4.reactive-agent + - title: ChatOps 配置 + url: /3.chatops/5.configuration + - title: 规则管理 + url: /3.chatops/6.rule-management From 72e054f5d6a34034eb49cdd8893b85152096ca05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E5=AE=87?= Date: Thu, 13 Nov 2025 17:20:59 +0800 Subject: [PATCH 3/3] docs(chatops): fix rule management access URL to keep original path Fixed the access URL in rule-management.md to keep the original path. Changes: - Reverted URL from /chatops/rule-management to /oncall/config - Only documentation location changed, route path remains unchanged This ensures documentation reflects the actual route path. --- docs/content/3.chatops/6.rule-management.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.chatops/6.rule-management.md b/docs/content/3.chatops/6.rule-management.md index 21f55ac5..70448a29 100644 --- a/docs/content/3.chatops/6.rule-management.md +++ b/docs/content/3.chatops/6.rule-management.md @@ -11,7 +11,7 @@ navigation: 导航至:**ChatOps** → **内容识别规则** -或直接访问:`/chatops/rule-management?botId=` +或直接访问:`/oncall/config?botId=` ## 创建新规则