Skip to content

Commit 75895f2

Browse files
committed
Fix pages build script
1 parent e06cbc0 commit 75895f2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/pr-doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build pages
1+
name: Build preview pages
22
on:
33
pull_request:
44

build_stats_pages.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ def make_stats(module, lib, version, cur_nids, nid_names, obfuscation_pairs):
204204
print("cycle detected with", fullname)
205205
exit(1)
206206
oldest_nid = oldername.split('_')[-1]
207-
if oldername != fullname:
208-
print(fullname, "->", oldername, "->", oldest_nid)
209207
if oldername in nid_names:
210208
if nid_names[oldername][1] == 'matching':
211209
obf_ok_nids.append({"nid": oldest_nid, "name": fullname, "source": "obf_matching"})
@@ -257,7 +255,7 @@ def main():
257255
os.makedirs(OUTPUT_HTML + "/modules", exist_ok=True)
258256

259257
# Parse all the NID export files
260-
filelist = glob.glob('PSPLibDoc/kd/*.xml') + glob.glob('PSPLibDoc/vsh/module/*.xml')
258+
filelist = glob.glob('generated-xml/ByModule/kd/*.xml') + glob.glob('generated-xml/ByModule/vsh/module/*.xml')
261259

262260
nid_bylib = defaultdict(lambda: defaultdict(list))
263261
versions = set()

0 commit comments

Comments
 (0)