🏗️ change doc theme

This commit is contained in:
yanyongyu
2021-12-01 16:28:55 +08:00
parent b92c1a0b33
commit a414406039
111 changed files with 8887 additions and 11998 deletions

33
website/sidebars.js Normal file
View File

@ -0,0 +1,33 @@
/**
* 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 = {
// By default, Docusaurus generates a sidebar from the docs folder structure
guide: [{ type: "autogenerated", dirName: "guide" }],
advanced: [{ type: "autogenerated", dirName: "advanced" }],
api: [{ type: "autogenerated", dirName: "api" }],
// But you can create a sidebar manually
/*
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
*/
};
module.exports = sidebars;