Skip to content

Commit 26673f3

Browse files
beet-aizukmyk
andauthored
Update onlinejudge_verify/documentation/build.py
Co-authored-by: Kimiyuki Onaka <[email protected]>
1 parent 5361925 commit 26673f3

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'] = sorted([ext(path) for path in stat.depends_on], key=lambda x: x['path'])
111-
data['_extendedRequiredBy'] = sorted([ext(path) for path in stat.required_by], key=lambda x: x['path'])
112-
data['_extendedVerifiedWith'] = sorted([ext(path) for path in stat.verified_with], key=lambda x: x['path'])
110+
data['_extendedDependsOn'] = [ext(path) for path in sorted(stat.depends_on, key=lambda x: x.path)]
111+
data['_extendedRequiredBy'] = [ext(path) for path in sorted(stat.required_by, key=lambda x: x.path)]
112+
data['_extendedVerifiedWith'] = [ext(path) for path in sorted(stat.verified_with, key=lambda x: x.path)]
113113

114114
return data
115115

0 commit comments

Comments
 (0)