plugin-barman-cloud/web/sidebars.ts
Leonardo Cecchi b7ff08e10a docs: build documentation website with Docusaurus
Rework the documentation to be a static website instead of just the
GitHub README.md. Use docusaurus to create the website, and the CI to
publish to GitHub pages on commits to main.
Block release-please releases unless the documentation for that version
has been generated.

Closes #244

Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-04-30 12:15:35 +02:00

21 lines
609 B
TypeScript

import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/**
* 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.
*/
// Export the combined sidebars
export default {
// The key 'documentation' is the sidebarId referenced in navbar
docs: [{type: 'autogenerated', dirName: '.'}],
};