Summary
Many projects have download pages. We have standardized most of these pages. All downloads are attached to the Downloads page. Project specific download pages list a subset of the downloads related to there project using the Attachment-table macro.
Details
Because of different filtering required that is unique for the project, it was not possible to totally automate the process. However, it was relatively easy to consistently implement the download pages using the following action. Only the space and attachmentRegex needed to be adjusted for each project:
-action storePage --title Downloads --parent @home --content "{section} {column:width=50%} \n {attachment-table:page=INFO:Downloads|attachmentRegex=wiki-plugin-.*|columns=File,Modified|dateFormat=yyyy-MM-dd HH:mm|sortColumn=Modified|sortDescending=true} \n {column} {column} \n {include:info:download-info} \n {column} {section}" --space CWP