github.com/cosmos/cosmos-sdk@v0.50.10/docs/sidebars.js (about)

     1  /**
     2   * Creating a sidebar enables you to:
     3   - create an ordered group of docs
     4   - render a sidebar for each doc of that group
     5   - provide next/previous navigation
     6  
     7   The sidebars can be generated from the filesystem, or explicitly defined here.
     8  
     9   Create as many sidebars as you want.
    10   */
    11  
    12  // @ts-check
    13  
    14  /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
    15  const sidebars = {
    16    // By default, Docusaurus generates a sidebar from the docs folder structure
    17    tutorialSidebar: [
    18      { type: "autogenerated", dirName: "." },
    19  
    20      {
    21        type: "category",
    22        label: "Resources",
    23        collapsed: false,
    24        items: [
    25          {
    26            type: "link",
    27            label: "Tutorials",
    28            href: "https://tutorials.cosmos.network",
    29          },
    30          {
    31            type: "link",
    32            label: "SDK API Reference",
    33            href: "https://pkg.go.dev/github.com/cosmos/cosmos-sdk",
    34          },
    35          {
    36            type: "link",
    37            label: "REST API Spec",
    38            href: "https://docs.cosmos.network/swagger/",
    39          },
    40          {
    41            type: "link",
    42            label: "Awesome Cosmos",
    43            href: "https://github.com/cosmos/awesome-cosmos",
    44          },
    45          {
    46            type: "link",
    47            label: "Support",
    48            href: "https://github.com/orgs/cosmos/discussions",
    49          },
    50        ],
    51      },
    52    ],
    53  };
    54  
    55  module.exports = sidebars;