feat: rewrite user journey documentation and enhance input file handling in responses

This commit is contained in:
cita
2026-03-09 18:25:09 +08:00
parent 3da1b93c39
commit 15d4b207cc
9 changed files with 276 additions and 32 deletions
+36 -12
View File
@@ -5,7 +5,7 @@ export default withMermaid(
defineConfig({
lang: 'zh-CN',
title: 'Metapi 文档',
description: 'Metapi 使用文档、FAQ 与维护协作指南',
description: '面向普通用户的 Metapi 使用文档',
cleanUrls: true,
lastUpdated: true,
ignoreDeadLinks: true,
@@ -14,27 +14,51 @@ export default withMermaid(
logo: '/logos/logo-icon-512.png',
nav: [
{ text: '首页', link: '/' },
{ text: '快速上手', link: '/getting-started' },
{ text: 'FAQ', link: '/faq' },
{ text: '文档维护', link: '/README' },
{ text: '快速开始', link: '/getting-started' },
{ text: '上游接入', link: '/upstream-integration' },
{ text: '下游接入', link: '/client-integration' },
{ text: 'FAQ / 排错', link: '/faq' },
{ text: '项目主页', link: 'https://github.com/cita-777/metapi' },
],
sidebar: [
{
text: '开始',
text: '开始使用',
items: [
{ text: '文档首页', link: '/' },
{ text: '快速上手', link: '/getting-started' },
{ text: '部署指南', link: '/deployment' },
{ text: '快速开始', link: '/getting-started' },
],
},
{
text: '使用与运维',
text: '上游接入',
items: [
{ text: '配置说明', link: '/configuration' },
{ text: '客户端接入', link: '/client-integration' },
{ text: '运维手册', link: '/operations' },
{ text: '常见问题 FAQ', link: '/faq' },
{ text: '上游接入总览', link: '/upstream-integration' },
{ text: 'New API', link: '/upstream/new-api' },
{ text: 'Sub2API', link: '/upstream/sub2api' },
{ text: 'AnyRouter', link: '/upstream/anyrouter' },
{ text: 'One API', link: '/upstream/one-api' },
{ text: 'OneHub', link: '/upstream/onehub' },
{ text: 'DoneHub', link: '/upstream/donehub' },
{ text: 'Veloera', link: '/upstream/veloera' },
],
},
{
text: '下游接入',
items: [
{ text: '下游接入', link: '/client-integration' },
],
},
{
text: 'FAQ 与排错',
items: [
{ text: 'FAQ / 排错', link: '/faq' },
],
},
{
text: '高级与自托管',
items: [
{ text: '自托管部署与反向代理', link: '/deployment' },
{ text: '运行配置与部署级配置', link: '/configuration' },
{ text: '运维与维护', link: '/operations' },
],
},
{