Search code examples
docusaurus

Docusaurus single level sidebar


I'm building a website with Docusaurus V2.

Here is my sidebars.js:

module.exports = {
  docs: {
    '10 Studio': ['introduction'],
    'Getting Started': ['trySamples', 'installation'],
    'Formula Editor': ['formulaEditor'],
    'Spreadsheet Verificator': ['spreadsheetVerificator'],
    'Bottleneck Detector': ['bottleneckDetector'],
    'Spreadsheet Optimizer': ['spreadsheetOptimizer'],
    'Contact & Community': ['contactAndCommunity'],
  },
};

The result is as follows. As we can see, for Spreadsheet Verificator, Bottleneck Detector, etc., a second level is not necessary. Does anyone know how we could make them only one level?

enter image description here


Solution

  • I'm still working on this. A more flexible format will be available in future.