website/docs/config.ts

57 lines
1,022 B
TypeScript
Raw Normal View History

export interface Docs {
sidebar: Sidebar[];
}
export interface SidebarItem {
text: string;
link: string;
}
export interface Sidebar {
text: string;
items: SidebarItem[];
}
export const docs: Docs = {
sidebar: [
{
2024-03-12 22:36:09 +01:00
text: "DUX API",
items: [
{
text: "Introduction",
2024-03-12 22:36:09 +01:00
link: "/docs/dux/introduction",
},
{
text: "Experiments",
2024-03-12 22:36:09 +01:00
link: "/docs/dux/experiments",
},
{
text: "Eligible",
2024-03-12 22:36:09 +01:00
link: "/docs/dux/eligible",
},
{
text: "Endpoints",
link: "/docs/dux/endpoints",
},
{
text: "Stats",
2024-03-12 22:36:09 +01:00
link: "/docs/dux/stats",
},
],
},
{
text: "Peddler's Pocket",
items: [
{
text: "Introduction",
link: "/docs/peddlerspocket/introduction",
},
{
text: "Configuration",
link: "/docs/peddlerspocket/configuration",
},
],
},
],
};