From 1666c08e588b1ebcf250744e3552293cb8f188c7 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Sat, 10 Jan 2026 19:25:56 +0800 Subject: [PATCH] refactor: rename `instructions` to `custom-instructions` --- packages/website/src/components/DocsLayout.tsx | 2 +- .../features/{instructions => custom-instructions}/page.tsx | 0 packages/website/src/router.tsx | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename packages/website/src/docs/features/{instructions => custom-instructions}/page.tsx (100%) diff --git a/packages/website/src/components/DocsLayout.tsx b/packages/website/src/components/DocsLayout.tsx index 11064f7..075492d 100644 --- a/packages/website/src/components/DocsLayout.tsx +++ b/packages/website/src/components/DocsLayout.tsx @@ -34,7 +34,7 @@ export default function DocsLayout({ children }: DocsLayoutProps) { items: [ { title: t('nav.model_integration'), path: '/docs/features/model-integration' }, { title: t('nav.custom_tools'), path: '/docs/features/custom-tools' }, - { title: t('nav.knowledge_injection'), path: '/docs/features/instructions' }, + { title: t('nav.knowledge_injection'), path: '/docs/features/custom-instructions' }, { title: t('nav.security_permissions'), path: '/docs/features/security-permissions' }, { title: t('nav.data_masking'), path: '/docs/features/data-masking' }, ], diff --git a/packages/website/src/docs/features/instructions/page.tsx b/packages/website/src/docs/features/custom-instructions/page.tsx similarity index 100% rename from packages/website/src/docs/features/instructions/page.tsx rename to packages/website/src/docs/features/custom-instructions/page.tsx diff --git a/packages/website/src/router.tsx b/packages/website/src/router.tsx index 9bd3bb8..04f6193 100644 --- a/packages/website/src/router.tsx +++ b/packages/website/src/router.tsx @@ -2,10 +2,10 @@ import { Route, Switch } from 'wouter' import DocsLayout from './components/DocsLayout' import Header from './components/Header' +import Instructions from './docs/features/custom-instructions/page' // Features pages import CustomTools from './docs/features/custom-tools/page' import DataMasking from './docs/features/data-masking/page' -import Instructions from './docs/features/instructions/page' import ModelIntegration from './docs/features/model-integration/page' import SecurityPermissions from './docs/features/security-permissions/page' import BestPractices from './docs/integration/best-practices/page' @@ -80,7 +80,7 @@ export default function Router() { - +