2022-03-28 12:12:27 +03:00
|
|
|
/**
|
|
|
|
* 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} */
|
2022-07-20 19:34:24 +03:00
|
|
|
// const sidebars = {
|
|
|
|
// docsSidebar: [
|
|
|
|
// {
|
|
|
|
// type: 'category',
|
|
|
|
// label: 'Hasura GraphQL Engine',
|
|
|
|
// items: [{ type: 'autogenerated', dirName: 'graphql/core' }],
|
|
|
|
// },
|
|
|
|
// ],
|
|
|
|
// };
|
2022-03-28 12:12:27 +03:00
|
|
|
|
2022-07-20 19:34:24 +03:00
|
|
|
module.exports = {
|
|
|
|
docsSidebar: [
|
2022-03-28 12:12:27 +03:00
|
|
|
{
|
2022-07-20 19:34:24 +03:00
|
|
|
type: 'autogenerated',
|
|
|
|
dirName: '.', // generate sidebar from the docs folder (or versioned_docs/<version>)
|
|
|
|
|
2022-03-28 12:12:27 +03:00
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|