mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #6954 from libgit2/ethomson/docs
Documentation: don't resort versions
This commit is contained in:
@@ -1264,8 +1264,7 @@ async function produceSearch(versions) {
|
||||
}
|
||||
|
||||
async function produceMainIndex(versions) {
|
||||
const versionList = versions.sort(versionSort);
|
||||
const versionDefault = versionList[versionList.length - 1];
|
||||
const versionDefault = versions[0];
|
||||
|
||||
if (options.verbose) {
|
||||
console.log(`Producing documentation index...`);
|
||||
|
||||
Reference in New Issue
Block a user