-
Notifications
You must be signed in to change notification settings - Fork 140
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
fix: Alphabetized API Structures sidebar #422
base: main
Are you sure you want to change the base?
fix: Alphabetized API Structures sidebar #422
Conversation
Retrieved the hardcoded changes made in the first commit and added a function to sort the sidebar sub-elements in API tab. WebSource.Object._.Electron.-.27.June.2023.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sidebars.js
is generated by scripts/tasks/create-sidebar.ts
, so it is not the correct place to put these changes.
… which sorted API Structures alphabetically
Hi @dsanders11, thanks for letting me know. I was having a look at the file scripts/tasks/create-sidebar.ts and observed that when I disabled/commented out the if condition mentioned below in the same file and executed the command I reverted my changes from scripts/tasks/create-sidebar.ts as the sidebar.js is already sorted and going ahead if a new api is added in the folder docs/latest/api/structures then the |
Fixing the Issue 408
Alphabetized API Structures sidebar ✅