/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
docs/sidebars.ts
23 строки
778 B
Andrei L
chore(docs): migrate docusaurus config to typescript (#26471)
28 май 2026, 17:16
Не верифицирован
28 май 2026, 17:16
d353b27
Код
Авторство
О чём код?
/** * 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. */ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'; const sidebars: SidebarsConfig = { // By default, Docusaurus generates a sidebar from the docs folder structure docs: [{ type: 'autogenerated', dirName: 'docs' }], api: [{ type: 'autogenerated', dirName: 'api' }], exports: [{ type: 'autogenerated', dirName: 'exports' }], guides: [{ type: 'autogenerated', dirName: 'guides' }], rfcs: [{ type: 'autogenerated', dirName: 'rfcs' }], }; export default sidebars;