9 Star 1 Fork 0

Gitee AI / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
sidebars.ts 3.47 KB
一键复制 编辑 原始数据 按行查看 历史
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],
// But you can create a sidebar manually
tutorialSidebar: [
{
type: 'doc',
id: 'intro',
},
{
type: 'category',
collapsed: false,
label: '快速上手',
items: [
{
type: 'doc',
id: 'getting-started/concept',
},
{
type: 'doc',
id: 'getting-started/trial',
},
{
type: 'doc',
id: 'getting-started/model',
},
{
type: 'doc',
id: 'getting-started/app',
},
],
},
{
type: 'category',
collapsed: true,
label: '模型',
link: {
type: 'doc',
id: 'models',
},
items: [
{
type: 'doc',
id: 'models/cards',
},
{
type: 'doc',
id: 'models/uploading',
},
{
type: 'doc',
id: 'models/downloading',
},
{
type: 'doc',
id: 'models/widgets',
},
{
type: 'doc',
id: 'models/model-engine-api',
},
{
type: 'doc',
id: 'models/download-stats',
},
],
},
{
type: 'category',
collapsed: true,
label: '数据集',
link: {
type: 'doc',
id: 'datasets',
},
items: [
{
type: 'doc',
id: 'datasets/cards',
},
{
type: 'doc',
id: 'datasets/uploading',
},
{
type: 'doc',
id: 'datasets/downloading',
},
],
},
{
type: 'category',
collapsed: true,
label: '应用',
link: {
type: 'doc',
id: 'apps',
},
items: [
{
type: 'doc',
id: 'apps/overview',
},
{
type: 'doc',
id: 'apps/gpu-upgrades',
},
{
type: 'doc',
id: 'apps/storage',
},
{
type: 'doc',
id: 'apps/sdks-gradio',
},
{
type: 'doc',
id: 'apps/sdks-streamlit',
},
{
type: 'doc',
id: 'apps/sdks-static',
},
{
type: 'doc',
id: 'apps/sdks-docker',
},
{
type: 'doc',
id: 'apps/qa',
},
],
},
{
type: 'category',
collapsed: true,
label: '引擎',
items: [
{
type: 'doc',
id: 'engines/model-engine',
},
{
type: 'doc',
id: 'engines/app-engine',
},
{
type: 'doc',
id: 'engines/autotrain-engine',
},
],
},
{
type: 'doc',
id: 'repositories',
},
{
type: 'category',
collapsed: true,
label: '其他',
link: {
type: 'doc',
id: 'misc',
},
items: [],
},
],
};
export default sidebars;
1
https://gitee.com/gitee-ai/docs.git
git@gitee.com:gitee-ai/docs.git
gitee-ai
docs
docs
main

搜索帮助