// @ts-check

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

/**
 * Sidebars auto-generated from filesystem structure and frontmatter
 * Pages control their own metadata through frontmatter properties:
 * - sidebar_position: number for ordering
 * - sidebar_label: custom label (optional)
 * - sidebar_class_name: custom CSS class (optional)
 * 
 * @type {import('@docusaurus/plugin-content-docs').SidebarsConfig}
 */
const sidebars = {
  // Auto-generate sidebar from docs structure for developers
  tutorialSidebar: [
    {
      type: 'autogenerated',
      dirName: '.', // Generate from docs root directory
    },
  ],
  
  // Auto-generate sidebar from edu structure for educators
  educatorSidebar: [
    {
      type: 'autogenerated',
      dirName: '.', // Generate from edu root directory
    },
  ],
};

export default sidebars;
