Skip to content

Commit c3e5427

Browse files
author
Fuma Nama
committed
fix(docs): rename reference from "docs-new" to "docs"
1 parent 0dfb539 commit c3e5427

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

CopilotKit/scripts/docs/lib/files.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,106 +5,106 @@ export const REFERENCE_DOCS: ReferenceDocConfiguration[] = [
55
{
66
sourcePath: "packages/runtime/src/service-adapters/google/google-genai-adapter.ts",
77
destinationPath:
8-
"docs-new/content/docs/reference/classes/llm-adapters/GoogleGenerativeAIAdapter.mdx",
8+
"docs/content/docs/reference/classes/llm-adapters/GoogleGenerativeAIAdapter.mdx",
99
className: "GoogleGenerativeAIAdapter",
1010
description: "Copilot Runtime adapter for Google Generative AI (e.g. Gemini).",
1111
},
1212
{
1313
sourcePath: "packages/runtime/src/service-adapters/groq/groq-adapter.ts",
14-
destinationPath: "docs-new/content/docs/reference/classes/llm-adapters/GroqAdapter.mdx",
14+
destinationPath: "docs/content/docs/reference/classes/llm-adapters/GroqAdapter.mdx",
1515
className: "GroqAdapter",
1616
description: "Copilot Runtime adapter for Groq.",
1717
},
1818
{
1919
sourcePath: "packages/runtime/src/service-adapters/langchain/langchain-adapter.ts",
20-
destinationPath: "docs-new/content/docs/reference/classes/llm-adapters/LangChainAdapter.mdx",
20+
destinationPath: "docs/content/docs/reference/classes/llm-adapters/LangChainAdapter.mdx",
2121
className: "LangChainAdapter",
2222
description: "Copilot Runtime adapter for LangChain.",
2323
},
2424
{
2525
sourcePath: "packages/runtime/src/service-adapters/openai/openai-adapter.ts",
26-
destinationPath: "docs-new/content/docs/reference/classes/llm-adapters/OpenAIAdapter.mdx",
26+
destinationPath: "docs/content/docs/reference/classes/llm-adapters/OpenAIAdapter.mdx",
2727
className: "OpenAIAdapter",
2828
description: "Copilot Runtime adapter for OpenAI.",
2929
},
3030
{
3131
sourcePath: "packages/runtime/src/service-adapters/openai/openai-assistant-adapter.ts",
3232
destinationPath:
33-
"docs-new/content/docs/reference/classes/llm-adapters/OpenAIAssistantAdapter.mdx",
33+
"docs/content/docs/reference/classes/llm-adapters/OpenAIAssistantAdapter.mdx",
3434
className: "OpenAIAssistantAdapter",
3535
description: "Copilot Runtime adapter for OpenAI Assistant API.",
3636
},
3737
{
3838
sourcePath: "packages/runtime/src/service-adapters/anthropic/anthropic-adapter.ts",
39-
destinationPath: "docs-new/content/docs/reference/classes/llm-adapters/AnthropicAdapter.mdx",
39+
destinationPath: "docs/content/docs/reference/classes/llm-adapters/AnthropicAdapter.mdx",
4040
className: "AnthropicAdapter",
4141
description: "Copilot Runtime adapter for Anthropic.",
4242
},
4343
/* Classes */
4444
{
4545
sourcePath: "packages/react-core/src/lib/copilot-task.ts",
46-
destinationPath: "docs-new/content/docs/reference/classes/CopilotTask.mdx",
46+
destinationPath: "docs/content/docs/reference/classes/CopilotTask.mdx",
4747
className: "CopilotTask",
4848
description: "CopilotTask is used to execute one-off tasks, for example on button click.",
4949
},
5050
{
5151
sourcePath: "packages/runtime/src/lib/runtime/copilot-runtime.ts",
52-
destinationPath: "docs-new/content/docs/reference/classes/CopilotRuntime.mdx",
52+
destinationPath: "docs/content/docs/reference/classes/CopilotRuntime.mdx",
5353
className: "CopilotRuntime",
5454
description:
5555
"Copilot Runtime is the back-end component of CopilotKit, enabling interaction with LLMs.",
5656
},
5757
/* Components */
5858
{
5959
sourcePath: "packages/react-ui/src/components/chat/Chat.tsx",
60-
destinationPath: "docs-new/content/docs/reference/components/chat/CopilotChat.mdx",
60+
destinationPath: "docs/content/docs/reference/components/chat/CopilotChat.mdx",
6161
component: "CopilotChat",
6262
description:
6363
"The CopilotChat component, providing a chat interface for interacting with your copilot.",
6464
},
6565
{
6666
sourcePath: "packages/react-core/src/components/copilot-provider/copilotkit.tsx",
67-
destinationPath: "docs-new/content/docs/reference/components/CopilotKit.mdx",
67+
destinationPath: "docs/content/docs/reference/components/CopilotKit.mdx",
6868
component: "CopilotKit",
6969
description: "The CopilotKit provider component, wrapping your application.",
7070
},
7171
{
7272
sourcePath: "packages/react-ui/src/components/chat/Popup.tsx",
73-
destinationPath: "docs-new/content/docs/reference/components/chat/CopilotPopup.mdx",
73+
destinationPath: "docs/content/docs/reference/components/chat/CopilotPopup.mdx",
7474
component: "CopilotPopup",
7575
description:
7676
"The CopilotPopup component, providing a popup interface for interacting with your copilot.",
7777
},
7878
{
7979
sourcePath: "packages/react-ui/src/components/chat/Sidebar.tsx",
80-
destinationPath: "docs-new/content/docs/reference/components/chat/CopilotSidebar.mdx",
80+
destinationPath: "docs/content/docs/reference/components/chat/CopilotSidebar.mdx",
8181
component: "CopilotSidebar",
8282
description:
8383
"The CopilotSidebar component, providing a sidebar interface for interacting with your copilot.",
8484
},
8585
{
8686
sourcePath: "packages/react-textarea/src/components/copilot-textarea/copilot-textarea.tsx",
87-
destinationPath: "docs-new/content/docs/reference/components/CopilotTextarea.mdx",
87+
destinationPath: "docs/content/docs/reference/components/CopilotTextarea.mdx",
8888
component: "CopilotTextarea",
8989
description:
9090
"An AI-powered textarea component for your application, which serves as a drop-in replacement for any textarea.",
9191
},
9292
/* Hooks */
9393
{
9494
sourcePath: "packages/react-core/src/hooks/use-copilot-chat.ts",
95-
destinationPath: "docs-new/content/docs/reference/hooks/useCopilotChat.mdx",
95+
destinationPath: "docs/content/docs/reference/hooks/useCopilotChat.mdx",
9696
hook: "useCopilotChat",
9797
},
9898
{
9999
sourcePath: "packages/react-ui/src/hooks/use-copilot-chat-suggestions.tsx",
100-
destinationPath: "docs-new/content/docs/reference/hooks/useCopilotChatSuggestions.mdx",
100+
destinationPath: "docs/content/docs/reference/hooks/useCopilotChatSuggestions.mdx",
101101
hook: "useCopilotChatSuggestions",
102102
description:
103103
"The useCopilotChatSuggestions hook generates suggestions in the chat window based on real-time app state.",
104104
},
105105
{
106106
sourcePath: "packages/react-core/src/hooks/use-copilot-readable.ts",
107-
destinationPath: "docs-new/content/docs/reference/hooks/useCopilotReadable.mdx",
107+
destinationPath: "docs/content/docs/reference/hooks/useCopilotReadable.mdx",
108108
hook: "useCopilotReadable",
109109
description:
110110
"The useCopilotReadable hook allows you to provide knowledge to your copilot (e.g. application state).",

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "fumadocs-test",
2+
"name": "docs",
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {

0 commit comments

Comments
 (0)