docs: sort API reference sidebar items and sections (#12032)

This commit is contained in:
Shahed Nasser
2025-03-28 17:19:28 +02:00
committed by GitHub
parent acdcb11947
commit 9c90a39f1c
5 changed files with 99 additions and 23 deletions

View File

@@ -2,10 +2,9 @@
import { OpenAPI } from "types"
import { ReactNode, createContext, useContext, useEffect, useMemo } from "react"
import { Sidebar } from "types"
import getTagChildSidebarItems from "../utils/get-tag-child-sidebar-items"
import { useRouter } from "next/navigation"
import { UpdateActionType, UpdateSidebarItemTypes, useSidebar } from "docs-ui"
import { UpdateActionType, useSidebar } from "docs-ui"
import { getSectionId } from "docs-utils"
type BaseSpecsContextType = {