| /** |
| * Copyright (c) Meta Platforms, Inc. and affiliates. |
| * All rights reserved. |
| * |
| * This source code is licensed under the BSD-style license found in the |
| * LICENSE file in the root directory of this source tree. |
| */ |
| |
| /** |
| * 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. |
| */ |
| const {fbContent, fbInternalOnly} = require("docusaurus-plugin-internaldocs-fb/internal"); |
| |
| module.exports = { |
| docSideBar: [ |
| { |
| type: "category", |
| label: "Basics", |
| items: [ |
| { |
| type: "autogenerated", |
| dirName: "basics", |
| }, |
| ] |
| }, |
| { |
| type: "category", |
| label: "Tutorials", |
| items: [ |
| { |
| type: "autogenerated", |
| dirName: "tutorials", |
| }, |
| ] |
| }, |
| { |
| type: "category", |
| label: "EXIR", |
| items: [ |
| { |
| type: "autogenerated", |
| dirName: "ir_spec", |
| }, |
| ] |
| }, |
| { |
| type: "category", |
| label: "SDK", |
| items: [ |
| { |
| type: "autogenerated", |
| dirName: "sdk", |
| }, |
| ] |
| }, |
| { |
| type: "category", |
| label: "Export", |
| items: [ |
| { |
| type: "autogenerated", |
| dirName: "export", |
| }, |
| ] |
| }, |
| { |
| type: "category", |
| label: "For Contributors", |
| items: [ |
| { |
| type: "autogenerated", |
| dirName: "contributors", |
| }, |
| ] |
| }, |
| ], |
| ...fbInternalOnly(() => require("./fb/sidebars.js")), |
| }; |