Skip to content

Combination with starlight-sidebar-topics causes issuesΒ #4

@mavam

Description

@mavam

Describe the bug

I've co-deployed https://github.com/HiDeoo/starlight-sidebar-topics with this plugin and get an error when I build the site:

astro  v5.5.2 ready in 378 ms

┃ Local    http://localhost:4321/docs
┃ Network  use --host to expose

18:29:52 watching for file changes...
The collection "docs" does not exist or is empty. Please check your content config file for errors.

Then further down also:

18:29:59 [ERROR] [AstroUserError] The slug `"guides/quickstart"` specified in the Starlight sidebar config does not exist.
  Hint:
    Update the Starlight config to reference a valid entry slug in the docs content collection.
    Learn more about Astro content collection slugs at https://docs.astro.build/en/reference/modules/astro-content/#getentry
  Stack trace:
    at /Users/mavam/code/tenzir/docs/node_modules/.pnpm/@astrojs+starlight@0.32.2_astro@5.5.2_rollup@4.35.0_typescript@5.7.3_/node_modules/@astrojs/starlight/utils/navigation.ts:153:10

To Reproduce

Combine starlight-auto-sidebar with starlight-sidebar-topics.

Expected behavior

Peaceful coexistence of the two plugins.

How often does this bug happen?

Every time

System Info

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions