Skip to content

fix(): alphabetize sidebar #3088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,15 @@ module.exports = {
},
{
type: 'category',
label: 'Action Sheet',
label: 'Accordion',
collapsed: false,
items: ['api/action-sheet'],
items: ['api/accordion', 'api/accordion-group'],
},
{
type: 'category',
label: 'Accordion',
label: 'Action Sheet',
collapsed: false,
items: ['api/accordion', 'api/accordion-group'],
items: ['api/action-sheet'],
},
{
type: 'category',
Expand Down Expand Up @@ -316,15 +316,15 @@ module.exports = {
},
{
type: 'category',
label: 'Infinite Scroll',
label: 'Icons',
collapsed: false,
items: ['api/infinite-scroll', 'api/infinite-scroll-content'],
items: ['api/icon'],
},
{
type: 'category',
label: 'Icons',
label: 'Infinite Scroll',
collapsed: false,
items: ['api/icon'],
items: ['api/infinite-scroll', 'api/infinite-scroll-content'],
},
{
type: 'category',
Expand Down
22 changes: 11 additions & 11 deletions versioned_sidebars/version-v5-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,27 +706,27 @@
{
"collapsed": false,
"type": "category",
"label": "Infinite Scroll",
"label": "Icons",
"items": [
{
"type": "doc",
"id": "version-v5/api/infinite-scroll"
},
{
"type": "doc",
"id": "version-v5/api/infinite-scroll-content"
"type": "link",
"label": "ion-icon",
"href": "https://ionicons.com"
}
]
},
{
"collapsed": false,
"type": "category",
"label": "Icons",
"label": "Infinite Scroll",
"items": [
{
"type": "link",
"label": "ion-icon",
"href": "https://ionicons.com"
"type": "doc",
"id": "version-v5/api/infinite-scroll"
},
{
"type": "doc",
"id": "version-v5/api/infinite-scroll-content"
}
]
},
Expand Down
32 changes: 16 additions & 16 deletions versioned_sidebars/version-v6-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,28 +606,28 @@
},
{
"type": "category",
"label": "Action Sheet",
"label": "Accordion",
"collapsed": false,
"items": [
{
"type": "doc",
"id": "version-v6/api/action-sheet"
"id": "version-v6/api/accordion"
},
{
"type": "doc",
"id": "version-v6/api/accordion-group"
}
],
"collapsible": true
},
{
"type": "category",
"label": "Accordion",
"label": "Action Sheet",
"collapsed": false,
"items": [
{
"type": "doc",
"id": "version-v6/api/accordion"
},
{
"type": "doc",
"id": "version-v6/api/accordion-group"
"id": "version-v6/api/action-sheet"
}
],
"collapsible": true
Expand Down Expand Up @@ -818,28 +818,28 @@
},
{
"type": "category",
"label": "Infinite Scroll",
"label": "Icons",
"collapsed": false,
"items": [
{
"type": "doc",
"id": "version-v6/api/infinite-scroll"
},
{
"type": "doc",
"id": "version-v6/api/infinite-scroll-content"
"id": "version-v6/api/icon"
}
],
"collapsible": true
},
{
"type": "category",
"label": "Icons",
"label": "Infinite Scroll",
"collapsed": false,
"items": [
{
"type": "doc",
"id": "version-v6/api/icon"
"id": "version-v6/api/infinite-scroll"
},
{
"type": "doc",
"id": "version-v6/api/infinite-scroll-content"
}
],
"collapsible": true
Expand Down