website/docs: cleanup more (#9249)

simplify DocCardList

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2024-04-15 14:58:27 +02:00
committed by GitHub
parent 4c23ef4e9e
commit 48d1b289a3
7 changed files with 10 additions and 19 deletions

View File

@ -36,6 +36,5 @@ There are, however, also some downsides, mainly the fact that you **can't** rest
For configuration templates for each web server, refer to the following:
import DocCardList from "@theme/DocCardList";
import { useCurrentSidebarCategory } from "@docusaurus/theme-common";
<DocCardList items={useCurrentSidebarCategory().items} />
<DocCardList />