mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
d24c127950
add docusaurus based docs site under /docs
63 lines
1.2 KiB
JavaScript
63 lines
1.2 KiB
JavaScript
/**
|
|
* 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.
|
|
*/
|
|
|
|
// @ts-check
|
|
|
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
|
const sidebars = {
|
|
sidebar: [
|
|
"intro",
|
|
{
|
|
type: "category",
|
|
label: "Guides",
|
|
link: {
|
|
type: "doc",
|
|
id: "guides/README",
|
|
},
|
|
items: ["guides/prompting"],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Data",
|
|
link: {
|
|
type: "doc",
|
|
id: "data/README",
|
|
},
|
|
items: [
|
|
"data/schemas",
|
|
"data/datasets",
|
|
"data/augmentation",
|
|
"data/supervised-datasets",
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Research",
|
|
link: {
|
|
type: "doc",
|
|
id: "research/README",
|
|
},
|
|
items: ["research/general", "research/search-based-qa"],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Presentations",
|
|
link: {
|
|
type: "doc",
|
|
id: "presentations/README",
|
|
},
|
|
items: ["presentations/list"],
|
|
},
|
|
],
|
|
};
|
|
|
|
module.exports = sidebars;
|