Skip to content

General

Visibility Rules

The visibilityRules option is a list of glob patterns that determine when the <Backlinks> (e.g. the backlinks in the Starlight sidebar) will be shown. When using the plugin it its default configuration (with Starlight), the backlinks will also only be shown if the sidebar is visible.

<PageBacklinks /> is shown on all pages.

  • Directorysrc
    • Directorycontent
      • Directorydocs
        • Directoryprivate
          • page.md // <PageBacklinks> is shown
        • Directorypublic
          • page.md // <PageBacklinks> is shown
          • cool-stuff.md // <PageBacklinks> is shown