Skip to content

Commit fde293d

Browse files
committed
Fix ordering of contributors on home page. Fix README.md title
1 parent 6b93f15 commit fde293d

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CommandAPI-Docs
1+
# docs
22

33
Documentation for CommandAPI.
44

docs/.vitepress/theme/author/ProjectTeam.vue

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,11 @@ const earlyContributorsList = [
6262
]
6363
6464
const otherContributors = otherContributorsList
65-
.sort()
66-
.map(name => {
67-
if (earlyContributorsList.includes(name)) {
68-
return buildContributor(name, "Early Contributor")
69-
} else {
70-
return buildContributor(name)
71-
}
72-
})
65+
.sort((a, b) => a.localeCompare(b, undefined, {sensitivity: 'base'})) // Case-insensitive sort
66+
.map(name => buildContributor(name));
7367
7468
const earlyContributors = earlyContributorsList
75-
.sort()
69+
.sort((a, b) => a.localeCompare(b, undefined, {sensitivity: 'base'})) // Case-insensitive sort
7670
.map(name => buildContributor(name, "Early Contributor"));
7771
7872
function avatar(name: string) {

0 commit comments

Comments
 (0)