You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
content="The folowing #{migrated_pages.size} topics out of #{pages.size - number_of_staying_pages} have been migrated and will be redirected soon.\n\n"
56
+
# Introductory text in the Migrated topics page
57
+
content="The folowing #{migrated_pages.size} topics out of #{all_migrating_pages.size} have been migrated and will be redirected soon.\n\n"
43
58
migrated_pages_by_group.eachdo |guide,topics|
44
59
content += "\n## #{guide}\n\n\n"
45
60
topics.sort_by{ |topic| topic[:title]}
@@ -48,6 +63,18 @@ def generate(site)
48
63
end
49
64
end
50
65
66
+
content += "\n***\n\n\n"
67
+
content += "\n## Pages to be migrated\n\n\n"
68
+
69
+
ifremained_migrating_pages.empty?
70
+
content += 'All 2.4 and versionless pages were migrated'
71
+
else
72
+
remained_migrating_pages.sort_by(&:path)
73
+
.eachdo |page|
74
+
content += "1. `#{page.path}`\n"
75
+
end
76
+
end
77
+
51
78
# PageWithoutAFile handles processing files without reading it.
52
79
# 'migrated.md' is a virtual file that's been created during Jekyll run.
53
80
# See details in https://www.rubydoc.info/gems/jekyll/Jekyll/PageWithoutAFile
@@ -68,6 +95,16 @@ def generate(site)
68
95
# Add the newly constructed page object to the rest of pages
0 commit comments