Replies: 1 comment
-
Update: I found out that Starlight has its own plugins that extend it just like Astro (woohoo!), then I found out there's a sidebar navigation plugin (!) and then that lead me to realize I can override Starlight components, including its own built-in Sidebar components like this plugin is doing. I still need to spend more time hacking on it but it looks like I can define my own Sidebar and that will be server-side rendered, in which I can make server calls to determine the behavior and contents of the Sidebar links. Will share an update later. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to build on the Starlight docs and have the sidebar that shows the chapters take a predicate to change the behavior of whether to show the item in the list or show "Locked" text instead. This is in order to satisfy so that some docs pages are public to access and others are enabled only after authentication.
Beta Was this translation helpful? Give feedback.
All reactions