Open
Description
What version of starlight
are you using?
0.34.2
What version of astro
are you using?
5.7.4
What package manager are you using?
pnpm
What operating system are you using?
Mac
What browser are you using?
Firefox
Describe the Bug
There are two bugs:
starlightRoute
isn't typed when using the Route Data middleware. @HiDeoo suggested addingastro.config.ts
to theinclude
section oftsconfig.json
. This could be described somewhere in the docs.- When using Route Data via middleware, it is possible to do all sorts of things, including modifying the
sidebar
. The page shows the types, however some of these types are internal and can't be imported in userland e.g.SidebarEntry
. If it's possible, the documentation should explain how to do so.
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
No labels