tecnopack docs2

This commit is contained in:
Giuseppe De Franceschi 2025-08-19 12:34:15 +02:00
parent ed209dd610
commit 9afcf6f9d6
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'; // @ts-check
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) // This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
@ -11,10 +11,12 @@ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
The sidebars can be generated from the filesystem, or explicitly defined here. The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want. Create as many sidebars as you want.
@type {import('@docusaurus/plugin-content-docs').SidebarsConfig}
*/ */
const sidebars: SidebarsConfig = { const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure // By default, Docusaurus generates a sidebar from the docs folder structure
docSidebar: [{ type: 'autogenerated', dirName: '.' }], tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually // But you can create a sidebar manually
/* /*
@ -30,4 +32,4 @@ const sidebars: SidebarsConfig = {
*/ */
}; };
export default sidebars; export default sidebars;