@astrojs/starlight 0.27.0
Minor Changes
-
#1255
6f3202bThanks @Fryuni! - Adds support for server-rendered Starlight pages.When building a project with
hybridorserveroutput mode, a newprerenderoption on Starlight config can be set tofalseto make all Starlight pages be rendered on-demand:export default defineConfig({ output: 'server', integrations: [ starlight({ prerender: false, }), ], });
Patch Changes
-
#2242
756e85eThanks @delucis! - Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices -
#1255
6f3202bThanks @Fryuni! - Improves performance of computing the last updated times from Git history.Instead of executing
gitfor each docs page, it is now executed twice regardless of the number of pages. -
#1255
6f3202bThanks @Fryuni! - Fixes last updated times on projects with customsrcDir