Skip to content

[www] IA redesign: Allow top-level links to pages #6295

@fk

Description

@fk

The current implementation for the "Docs", "Tutorial" and "Features" sidebars only allows for links to pages to exist within the items object of a top-level item:

- title: Quick Start
items:
- title: Getting Started
link: /
- title: Starters
link: /gatsby-starters/
- title: Deploying
link: /deploy-gatsby/
- title: Community
link: /community/
- title: Awesome Gatsby
link: /awesome-gatsby/

Top-level items currently only are used to "group" items in an accordion and are not expected to link to a page.

The doc IA RFC however forsees top-level items to be able to link to pages, too—see "Introduction", "Quick Start" and "Commands (Gatsby CLI)" here:

sidebar clickpath auto-expanding first-level groups

This issue captures the need to extend the implementation to allow top-level links to pages.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions