This is an automated email from the ASF dual-hosted git repository.

niallp 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 641513f  Simplify Projects table, split over two lines & add Callouts
641513f is described below

commit 641513f76597e20eb39d42c6fec730407ebfd711
Author: Niall Pemberton <niall.pember...@gmail.com>
AuthorDate: Fri May 2 17:03:10 2025 +0100

    Simplify Projects table, split over two lines & add Callouts
---
 _config.yml | 25 +++++++++++++++++++++++++
 projects.md | 22 +++++++++++++---------
 2 files changed, 38 insertions(+), 9 deletions(-)

diff --git a/_config.yml b/_config.yml
index c635849..51a06de 100644
--- a/_config.yml
+++ b/_config.yml
@@ -52,3 +52,28 @@ nav_external_links:
       url: https://events.apache.org/
       opens_in_new_tab: true
       hide_icon: true
+
+# For Callouts, see 
https://just-the-docs.github.io/just-the-docs/docs/configuration/#callouts
+callouts:
+  warning:
+    title: Warning
+    color: red
+  important:
+    title: Important
+    color: blue
+  important-green:
+    title: Important
+    color: green
+  note:
+    title: Note
+    color: blue
+  note-green:
+    title: Note
+    color: green
+  tip:
+    title: Tip
+    color: blue
+  tip-green:
+    title: Tip
+    color: green
+
diff --git a/projects.md b/projects.md
index c687d10..d992b9a 100644
--- a/projects.md
+++ b/projects.md
@@ -24,15 +24,19 @@ limitations under the License.
 <h1>Retired Projects</h1>
 ***
 
-{%- assign projects_by_date = site.data.project_array | sort_natural: 
"project_longname" %}
-{%- assign list_date_fmt = "%b %Y" %}
+{: .fs-5}
+This page lists all the **Projects** and **Subprojects** in The Apache Attic.
 
+{: .note}
+In the early years The Apache Attic accepted some ***Subprojects***, but this 
is no longer the
+case and only ***Top Level Projects*** (projects with a **PMC**) are now 
accepted.
 
 |Project|Type|Description|Retired|
-|:------|:----|:----------|:------|
-{%- for project in projects_by_date -%}
-{%- assign retire_date = project.retirement_date  | date: list_date_fmt -%}
-{%- assign attic_date = project.attic_date | date: list_date_fmt -%}
-{% assign proj_link = project.project_id | prepend: "projects/" | append: 
".html" %}
-|{{forloop.index}}. [{{ project.project_apachename }}]({%- link {{proj_link}} 
-%})|{{project.project_type}}|{{project.project_shortdesc}}|{{ retire_date }}|
-{%- endfor -%}
+|:------|:---|:----------|:------|
+{%- for project in site.data.project_array | sort_natural: "project_longname" 
| reversed %}
+|{{forloop.index}}. [{{project.project_apachename}}](
+   {%- link {{project.project_id | prepend: "projects/" | append: ".html"}} -%}
+)|{{project.project_type}}|{{project.project_shortdesc}}|{{project.retirement_date
 | date: "%b %Y"}}
+{%- endfor %}
+
+

Reply via email to