website/docs/config.ts

92 lines
2 KiB
TypeScript
Raw Normal View History

2024-07-30 22:40:25 +02:00
/**
* @license
* Copyright (c) 2022 Jozef Steinhübl
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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",
},
],
},
2024-08-18 15:16:44 +02:00
{
text: "Distroid",
items: [
{
text: "Introduction",
link: "/docs/distroid/introduction",
},
{
text: "Current",
link: "/docs/distroid/current",
},
2024-08-18 18:07:35 +02:00
{
text: "Download",
link: "/docs/distroid/download",
},
2024-08-18 15:16:44 +02:00
],
},
{
text: "Peddler's Pocket",
items: [
{
text: "Introduction",
link: "/docs/peddlerspocket/introduction",
},
{
text: "Configuration",
link: "/docs/peddlerspocket/configuration",
},
],
},
],
};