This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git
The following commit(s) were added to refs/heads/main by this push:
new 21f6c75 Docco [skip ci]
21f6c75 is described below
commit 21f6c75423e75914da2ba82a1a8360a0029d34e0
Author: Sebb <[email protected]>
AuthorDate: Thu Oct 2 23:26:36 2025 +0100
Docco [skip ci]
---
_plugins/project-data-plugin.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/_plugins/project-data-plugin.rb b/_plugins/project-data-plugin.rb
index 30e12f2..b83c836 100644
--- a/_plugins/project-data-plugin.rb
+++ b/_plugins/project-data-plugin.rb
@@ -34,6 +34,7 @@ module ProjectDataPlugin
Jekyll.logger.info "ProjectDataPlugin: Starting processing project data"
projects = Array.new
+ # the projects hash is created by Jekyll from the _data/projects
directory contents
site.data['projects'].each do | projectId, project|
project['project_id'] = projectId
project['project_name'] = project.fetch("project_name",
projectId.capitalize())
@@ -62,6 +63,7 @@ module ProjectDataPlugin
projects.push(project)
end
+ # This converts the projects hash to an array
site.data['project_array'] = projects.sort_by { |project|
project['project_name_lower'] }
## Initialize Array of years from 2009 onwards