Repository navigation
fix(sidebar): sort English volume entries munerically - #319
Merged
Charliechen114514 merged 1 commit intoNov 2, 2026
Merged
Conversation
Member
|
Hi! Thanks for the fix! I confirmed the root cause on my side: none of the top-level volume directories set sidebar_order, so the sort falls back to a plain name comparison, and "vol10-open-lecture-notes" ends up right after vol1. I'll merge this once CI is green. Thanks Again! XD (sorry for my poor english lol |
Charliechen114514
approved these changes
Nov 2, 2026
Charliechen114514
merged commit Nov 2, 2026
a91bffa
into
Awesome-Embedded-Learning-Studio:main
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, when I'm scanning the English version of the site, I notice that the sidebar's order of the volumes is not correct. The phenomenon strongly suggests that the volumes are sorted with the original name in alphabet order, which should not be the required order.

As volume 1 to volume 10 are in the same hierarchy level with other sections like
C++ Feature Cheat Sheetwhich is not a normal volume, it will be troublesome to assign thesidebar_orderfield in eachindex.mdto make sure all the orders indocuments/en/are fine. Thus I took a conservative change to solve the problem and already checked it. I suppose this would not be harmful in other situations.