Skip to content

Releases: trueberryless-org/starlight-sidebar-topics-dropdown

starlight-sidebar-topics-dropdown@0.6.0

16 Mar 21:03
3d19a26

Choose a tag to compare

0.6.0

Minor Changes

  • be6f194 Thanks @trueberryless! - Adds support for Astro v6, drops support for Astro v5.

    ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.38.0.

    Please follow the upgrade guide to update your project.

starlight-sidebar-topics-dropdown@0.5.4

19 Feb 14:52
0f2c272

Choose a tag to compare

0.5.4

Patch Changes

starlight-sidebar-topics-dropdown@0.5.3

19 Feb 12:47
a616a8e

Choose a tag to compare

0.5.3

Patch Changes

starlight-sidebar-topics-dropdown@0.5.2

02 Nov 10:05
bec77e0

Choose a tag to compare

0.5.2

Patch Changes

starlight-sidebar-topics-dropdown@0.5.1

25 Mar 17:47
6c68201

Choose a tag to compare

0.5.1

Patch Changes

starlight-sidebar-topics-dropdown@0.5.0

21 Mar 16:58
1932ecc

Choose a tag to compare

0.5.0

Minor Changes

  • #40 acf6f15 Thanks @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.

    1. Install the Starlight Sidebar Topics plugin:

      npm i starlight-sidebar-topics
    2. Update the starlight-sidebar-topics-dropdown component in your astro.config.mjs (use the starlight-sidebar-topics plugin instead):

      // astro.config.mjs
      -import starlightSidebarTopicsDropdown from "starlight-sidebar-topics-dropdown";
      +import starlightSidebarTopics from "starlight-sidebar-topics";
    3. Exchange the starlight-sidebar-topics-dropdown component with the starlight-sidebar-topics plugin and add a manual override for the Sidebar component where you can use the dropdown component from the starlight-sidebar-topics-dropdown component:

      // astro.config.mjs
      export default defineConfig({
        integrations: [
          starlight({
            plugins: [
      -        starlightSidebarTopicsDropdown([
      +        starlightSidebarTopics([
                // Your Starlight Sidebar Topics configuration here (unchanged).
              ]),
            ],
      +      components: {
      +        Sidebar: './src/components/Sidebar.astro',
      +      },
          }),
        ],
      });
    4. 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>
    5. 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

21 Feb 18:36
46e7eb4

Choose a tag to compare

0.4.1

Patch Changes

starlight-sidebar-topics-dropdown@0.4.0

21 Feb 18:21
c8c48b2

Choose a tag to compare

0.4.0

Minor Changes

starlight-sidebar-topics-dropdown-docs@0.3.3

21 Feb 18:37

Choose a tag to compare

0.3.3

Patch Changes

  • Updated dependencies [01024d4]:
    • starlight-sidebar-topics-dropdown@0.4.1

starlight-sidebar-topics-dropdown-docs@0.3.2

21 Feb 18:21

Choose a tag to compare

0.3.2

Patch Changes