import Link from '@docusaurus/Link'; import useBaseUrl from '@docusaurus/useBaseUrl'; import type { Props } from '@theme/DocSidebar'; import clsx from 'clsx'; import { useState } from 'react'; import { groupsOf, samePath } from '../../components/docs/sidebarGroups'; import styles from './styles.module.css'; // The autogenerated sidebar with a page filter on top and the plain text docs at the bottom. export default function DocSidebar({ sidebar, path }: Props) { const [query, setQuery] = useState(''); const [closed, setClosed] = useState>({}); const llms = useBaseUrl('/llms-full.txt'); const q = query.trim().toLowerCase(); return ( ); }