feat: change docs

This commit is contained in:
engigu
2026-03-11 08:25:47 +08:00
parent 1261620d1b
commit 735b798bd7
21 changed files with 13 additions and 32257 deletions
+13 -2
View File
@@ -14,8 +14,19 @@ import '@scalar/api-reference/style.css'
spec: {
url: '/baihu-panel/swagger.json'
},
theme: 'purple',
showSidebar: true
theme: 'alternate',
showSidebar: true,
servers: [
{
url: '{protocol}://{host}:{port}/open2api/v1',
description: '可编辑的服务器地址',
variables: {
protocol: { default: 'http', enum: ['http', 'https'] },
host: { default: 'localhost' },
port: { default: '8052' }
}
}
]
}"
/>
</ClientOnly>