Skip to content

Commit 016c137

Browse files
authored
Merge pull request #328 from online-judge-tools/beet-aizu-patch-1
Update build.py
2 parents 3c92524 + 6e5afa0 commit 016c137

File tree

1 file changed

+3
-3
lines changed
  • onlinejudge_verify/documentation

1 file changed

+3
-3
lines changed

onlinejudge_verify/documentation/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def ext(relative_path: pathlib.Path) -> Dict[str, Any]:
107107
'icon': _get_verification_status_icon(stat.verification_status),
108108
}
109109

110-
data['_extendedDependsOn'] = [ext(path) for path in stat.depends_on]
111-
data['_extendedRequiredBy'] = [ext(path) for path in stat.required_by]
112-
data['_extendedVerifiedWith'] = [ext(path) for path in stat.verified_with]
110+
data['_extendedDependsOn'] = [ext(path) for path in sorted(stat.depends_on, key=lambda x: str(x))]
111+
data['_extendedRequiredBy'] = [ext(path) for path in sorted(stat.required_by, key=lambda x: str(x))]
112+
data['_extendedVerifiedWith'] = [ext(path) for path in sorted(stat.verified_with, key=lambda x: str(x))]
113113

114114
return data
115115

0 commit comments

Comments
 (0)