Skip to content

Change collapsable to collapsible in sidebar groups config #607

Closed
@hoopyfroody

Description

@hoopyfroody

Feature request

What problem does this feature solve?

Sidebar groups config in the default theme contains the collapsable prop. My instinctual reaction was that this should be collapsible. While both versions of the word are correct, collapsible is by far the most used (source: google search, ratio is about 10:1). I think changing it may save some people having to go to the docs to find the correct spelling.

What does the proposed API look like?

module.exports = {
  themeConfig: {
    sidebar: [
      {
        title: 'Group 1',
        collapsible: false,
        children: [
          '/'
        ]
      }
    ]
  }
}

How should this be implemented in your opinion?

Well, I realise this is a breaking change and a bit of a pet peeve, so perhaps not at all. But I did want to bring it up, since we are pre-1.0 and there might still be a window.

Are you willing to work on this yourself?

Sure, I'll do a PR if this is deemed a good suggestion.

Metadata

Metadata

Assignees

No one assigned

    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