mirror of
https://github.com/Xahau/xahau-web.git
synced 2025-11-04 12:15:49 +00:00
Added search to documentation sidebar
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
---
|
||||
import SidebarPersister from '@astrojs/starlight/components/SidebarPersister.astro'
|
||||
import SidebarSublist from '@astrojs/starlight/components/SidebarSublist.astro'
|
||||
import Search from '@astrojs/starlight/components/Search.astro'
|
||||
|
||||
const { sidebar } = Astro.locals.starlightRoute
|
||||
---
|
||||
|
||||
<SidebarPersister>
|
||||
<Search />
|
||||
<SidebarSublist sublist={sidebar} />
|
||||
</SidebarPersister>
|
||||
Reference in New Issue
Block a user