-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathconfig.mts
More file actions
164 lines (156 loc) · 6.89 KB
/
config.mts
File metadata and controls
164 lines (156 loc) · 6.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/**
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
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
http://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.
*/
import { defineConfig } from 'vitepress';
import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
const navLinks = [
{
text: 'System Administrator Guide',
items: [
{
text: 'Getting Started', link: '/admin/getting-started',
items: [
{ text: 'What is LISA', link: '/admin/getting-started#what-is-lisa' },
{ text: 'Major Features', link: '/admin/getting-started#major-features' },
{ text: 'Key Features & Benefits', link: '/admin/getting-started#key-features-benefits' },
{ text: 'Access Control', link: '/admin/getting-started#access-control' },
]
},
{
text: 'Architecture Overview', link: '/admin/architecture',
items: [
{ text: 'Serve', link: '/admin/architecture#lisa-serve' },
{ text: 'MCP', link: '/admin/architecture#lisa-mcp' },
{ text: 'Chat UI', link: '/admin/architecture#chat-ui' },
],
},
{ text: 'Deployment', link: '/admin/deploy',
items: [
{ text: 'Prerequisites', link: '/admin/deploy#prerequisites' },
{ text: 'Software', link: '/admin/deploy#software' },
{ text: 'Deployment Steps', link: '/admin/deploy#deployment-steps' },
{ text: 'ADC Region Deployment Tips', link: '/admin/deploy#adc-region-deployment-tips' },
],
},
{ text: 'Example IdP Configurations', link: '/admin/idp-config' },
{ text: 'API Overview', link: '/admin/api-overview' },
],
},
{
text: 'Advanced Configuration',
items: [
{ text: 'API Token Management', link: '/config/api-tokens' },
{ text: 'Model Compatibility', link: '/config/model-compatibility',
items: [
{text: "vLLM Variables", link: '/config/vllm_variables'}
]
},
{ text: 'Model Management API', link: '/config/model-management-api' },
{ text: 'Model Management UI', link: '/config/model-management-ui' },
{ text: 'Chat Assistant Stacks', link: '/config/chat-assistant-stacks' },
{ text: 'Project Organization', link: '/config/projects' },
{ text: 'Bedrock Guardrails', link: '/config/guardrails' },
{ text: 'Configuration UI', link: '/config/configuration-ui' },
{ text: 'Usage & Features', link: '/config/usage' },
{ text: 'RAG Repository', link: '/config/repositories' },
{ text: 'RAG Evaluation', link: '/config/rag-evaluation' },
{ text: 'Langfuse Tracing', link: '/config/langfuse-tracing'},
{ text: 'Private Labeling', link: '/config/custom-branding' },
{
text: 'Configuration Schema',
link: '/config/configuration',
items: [
{ text: 'Config Generator CLI', link: '/config/config-generator' },
{ text: 'VPC & Subnet Overrides', link: '/config/vpc-overrides' },
{ text: 'Security Group Overrides', link: '/config/security-group-overrides' },
{ text: 'Role Overrides', link: '/config/role-overrides' },
],
},
{ text: 'LISA MCP: Self-host servers', link: '/config/hosted-mcp' },
{ text: 'MCP Connections: Third-party servers', link: '/config/mcp' },
{ text: 'MCP Workbench: Experimentation', link: '/config/mcp-workbench' },
{ text: 'Usage Analytics', link: '/config/cloudwatch' },
{ text: 'Claude Code Setup for LISA Serve', link: '/config/claude-code-setup' },
],
},
{
text: 'User Guide',
items: [
{ text: 'LISA Chat UI', link: '/user/chat' },
{ text: 'Document Library Management', link: '/user/document-library' },
{ text: 'Model Library', link: '/user/model-library' },
{ text: 'Prompt Template Library', link: '/user/prompt-template-library' },
{ text: 'Session History', link: '/config/session' },
{ text: 'User Preferences', link: '/config/user-preferences' },
{ text: 'Breaking Changes', link: '/config/breaking-changes' },
{ text: 'Change Log', link: 'https://github.com/awslabs/LISA/releases' },
],
},
{
text: 'API Reference',
items: [
{ text: 'API Tokens', link: '/config/api-tokens#managing-tokens-via-api' },
{ text: 'Chat Assistant Stacks', link: '/config/chat-assistant-stacks#api-reference' },
{ text: 'Collection Management (Repository)', link: '/config/collection-management-api#endpoints' },
{ text: 'Bedrock Guardrails', link: '/config/guardrails#managing-guardrails-via-lisa-models-api' },
{ text: 'Hosted MCP Servers', link: '/config/hosted-mcp#api-operations' },
{ text: 'Metrics', link: '/admin/api-overview#metrics-api-gateway-endpoints' },
{ text: 'Model Management', link: '/config/model-management-api#listing-models-admin-api' },
{ text: 'Project Organization', link: '/config/projects#api-reference' },
{ text: 'RAG Repository', link: '/config/repositories#configuration-examples' },
{ text: 'MCP Workbench', link: '/config/mcp-workbench#programmatic-api-access' },
{ text: 'Bedrock Knowledge Base', link: '/config/repositories#bedrock-knowledge-base-api-reference' },
{ text: 'MCP Server Connections', link: '/config/mcp#api-reference' },
{ text: 'MCP Workbench', link: '/config/mcp-workbench#api-reference' },
{ text: 'Prompt Templates', link: '/config/prompt-templates#api-reference' },
{ text: 'Session', link: '/config/session#api-reference' },
{ text: 'User Preferences', link: '/config/user-preferences#api-reference' },
],
},
];
// https://vitepress.dev/reference/site-config
export default defineConfig({
lang: 'en-US',
title: 'LISA Documentation',
description: 'LLM Inference Solution for Amazon Dedicated Cloud (LISA)',
outDir: 'dist',
base: '/LISA/',
head: [['link', { rel: 'icon', href: '/LISA/favicon.ico' }]],
markdown: {
config(md) {
md.use(tabsMarkdownPlugin)
const defaultRender = md.render.bind(md);
md.render = (src, env) => {
src = src.replace(/Array<([^>]+)>/g, 'Array<$1>');
return defaultRender(src, env);
};
},
},
// https://vitepress.dev/reference/default-theme-config
themeConfig: {
logo: {
light: '/logo-light.svg',
dark: '/logo-dark.svg',
},
nav: [
{ text: 'Home', link: '/' },
...navLinks,
],
sidebar: navLinks,
socialLinks: [
{ icon: 'github', link: 'https://github.com/awslabs/LISA' },
],
search: {
provider: 'local',
},
},
});