docs: move documentation into monorepo

This commit is contained in:
lfleischmann
2022-09-12 13:15:42 +02:00
committed by GitHub
parent 0a05c88311
commit 13d6b25f72
100 changed files with 24404 additions and 30 deletions

38
docs/sidebars.js Normal file
View File

@ -0,0 +1,38 @@
/**
* 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
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
docs: [
'intro',
{
type: 'category',
label: 'Frontend guides',
link: {
type: 'generated-index',
title: 'Frontend guides',
description: 'Set up authentication for your app in minutes by learning how to integrate Hanko with your preferred frontend framework!',
slug: '/guides/frontend',
keywords: ['guides']
},
items: ['guides/angular', "guides/react", "guides/next", "guides/vue"]
},
'guides/backend'
],
};
module.exports = sidebars;