docs: add starlight-contextual-menu to plugins resources#3358
docs: add starlight-contextual-menu to plugins resources#3358HiDeoo merged 3 commits intowithastro:mainfrom
starlight-contextual-menu to plugins resources#3358Conversation
✅ Deploy Preview for astro-starlight ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hello! Thank you for opening your first PR to Starlight! ✨ Here’s what will happen next:
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Thanks for all the help in the Discord, folks! |
|
HiDeoo
left a comment
There was a problem hiding this comment.
Amazing, for the great new addition to the showcase 🙌
If you're interested in some future improvement ideas, you may want to take a look at component overrides which allows you to extend or replace Starlight built-in components and such overrides can be defined by plugins. This would allow you to avoid using injectScript() which injects your code in all pages, even non-Starlight ones and instead build your own Astro component to slot in the Starlight layout. A plugin can also expose such component so that users can also use it with more flexibility, e.g. if I want a contextual menu in the footer.
Thanks again for your great work.

Description
This PR adds the
starlight-contextual-menuplugin to the plugins resources section of the documentation.