Releases: trueberryless-org/starlight-sidebar-topics-dropdown
starlight-sidebar-topics-dropdown@0.6.0
0.6.0
Minor Changes
-
be6f194Thanks @trueberryless! - Adds support for Astro v6, drops support for Astro v5.⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now0.38.0.Please follow the upgrade guide to update your project.
starlight-sidebar-topics-dropdown@0.5.4
0.5.4
Patch Changes
- #80
c497245Thanks @VisualEhrmanntraut! - Fixed bug introduced by AI hallucination while trying to add RTL layout support
starlight-sidebar-topics-dropdown@0.5.3
0.5.3
Patch Changes
- #78
6dd38a5Thanks @trueberryless! - Add support for RTL languages by fixing the CSS styles.
starlight-sidebar-topics-dropdown@0.5.2
0.5.2
Patch Changes
- #68
f640d36Thanks @trueberryless-org! - Setups trusted publishing using OpenID Connect (OIDC) authentication — no code changes.
starlight-sidebar-topics-dropdown@0.5.1
starlight-sidebar-topics-dropdown@0.5.0
0.5.0
Minor Changes
-
#40
acf6f15Thanks @trueberryless! -⚠️ BREAKING CHANGE: This plugin now uses the Starlight Sidebar Topics plugin as a peer dependency. Please follow the upgrade guide below to migrate to the new version.-
Install the Starlight Sidebar Topics plugin:
npm i starlight-sidebar-topics
-
Update the
starlight-sidebar-topics-dropdowncomponent in yourastro.config.mjs(use thestarlight-sidebar-topicsplugin instead):// astro.config.mjs -import starlightSidebarTopicsDropdown from "starlight-sidebar-topics-dropdown"; +import starlightSidebarTopics from "starlight-sidebar-topics";
-
Exchange the
starlight-sidebar-topics-dropdowncomponent with thestarlight-sidebar-topicsplugin and add a manual override for theSidebarcomponent where you can use the dropdown component from thestarlight-sidebar-topics-dropdowncomponent:// astro.config.mjs export default defineConfig({ integrations: [ starlight({ plugins: [ - starlightSidebarTopicsDropdown([ + starlightSidebarTopics([ // Your Starlight Sidebar Topics configuration here (unchanged). ]), ], + components: { + Sidebar: './src/components/Sidebar.astro', + }, }), ], }); -
Create an Astro component to replace the default Starlight
<Sidebar>component with which will render the topic list dropdown menu and re-use the default Starlight sidebar:--- // src/components/Sidebar.astro import Default from "@astrojs/starlight/components/Sidebar.astro"; import TopicsDropdown from "starlight-sidebar-topics-dropdown/TopicsDropdown.astro"; --- {/* Render the topics dropdown menu. */} <TopicsDropdown /> {/* Render the default sidebar. */} <Default><slot /></Default>
-
Update the schema import in
src/content.config.ts:// src/content.config.ts -import { topicSchema } from "starlight-sidebar-topics-dropdown/schema"; +import { topicSchema } from "starlight-sidebar-topics/schema";
-
starlight-sidebar-topics-dropdown@0.4.1
starlight-sidebar-topics-dropdown@0.4.0
0.4.0
Minor Changes
-
#31
3193771Thanks @trueberryless! -⚠️ BREAKING CHANGE: The Starlight Sidebar Topics Dropdown plugin no longer provides the same "Unnested Sidebar" configuration like before. Please adapt yourastro.config.mjswith the up-to-date guide on how to configure a "Unnested Sidebar". -
#31
db10526Thanks @trueberryless! -⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version0.32.0.Please use the
@astrojs/upgradecommand to upgrade your project:npx @astrojs/upgrade
-
#31
db10526Thanks @trueberryless! -⚠️ BREAKING CHANGE: The Starlight Sidebar Topics Dropdown plugin no longer overrides the<Pagination>component. If you were manually renderingstarlight-sidebar-topics-dropdown/overrides/Pagination.astroin a custom override, you can now remove it.