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

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f2bffa2bf download.md: build SHA-512/signature links from 
checksum-root
2f2bffa2bf is described below

commit 2f2bffa2bf07790effc5a7f55b8e1355071331a3
Author: Arnav Sharma <[email protected]>
AuthorDate: Tue Sep 22 22:48:09 2026 +0530

    download.md: build SHA-512/signature links from checksum-root
    
    SHA-512 and Signature columns used release.artifact-root, so they
    pointed at the mirror selector (dyn/closer.lua) and returned an HTML
    mirror-selection page instead of the file. Every release file defines
    checksum-root for exactly this purpose, but no template read it.
    
    Build hash/signature hrefs from release.checksum-root and keep the
    Archive column on release.artifact-root. Archive rows where both roots
    are identical (9.0.0, 9.1.0, 10.0.0) are unaffected.
    
    Fixes #185
    
    Signed-off-by: arnavsharma990 <[email protected]>
---
 download.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/download.md b/download.md
index cec6546570..e3f29992fe 100644
--- a/download.md
+++ b/download.md
@@ -48,8 +48,8 @@ and another for the integrated Apps.
                 <td style="vertical-align: middle; line-height: 2.5em;" 
class="col-md-1"><a href="{{ release.url | prepend: site.baseurl }}">{{ 
release.title }}</a></td>
                 <td style="vertical-align: middle;" class="col-md-4">{{ 
release.summary }}</td>
                 <td style="vertical-align: middle;" class="col-md-2 
text-right"><a 
href="{{release.artifact-root}}/{{release.source-os-dist}}">OS</a>/<a 
href="{{release.artifact-root}}/{{release.source-app-dist}}">Apps</a></td>
-                <td style="vertical-align: middle;" class="col-md-2 
text-right"><a 
href="{{release.artifact-root}}/{{release.source-os-dist}}.sha512">OS</a>/<a 
href="{{release.artifact-root}}/{{release.source-app-dist}}.sha512">Apps</a></td>
-                <td style="vertical-align: middle;" class="col-md-2 
text-right"><a 
href="{{release.artifact-root}}/{{release.source-os-dist}}.asc">OS</a>/<a 
href="{{release.artifact-root}}/{{release.source-app-dist}}.asc">Apps</a></td>
+                <td style="vertical-align: middle;" class="col-md-2 
text-right"><a 
href="{{release.checksum-root}}/{{release.source-os-dist}}.sha512">OS</a>/<a 
href="{{release.checksum-root}}/{{release.source-app-dist}}.sha512">Apps</a></td>
+                <td style="vertical-align: middle;" class="col-md-2 
text-right"><a 
href="{{release.checksum-root}}/{{release.source-os-dist}}.asc">OS</a>/<a 
href="{{release.checksum-root}}/{{release.source-app-dist}}.asc">Apps</a></td>
                 <td style="vertical-align: middle;" class="col-md-1 
text-right">{{ release.date | date: "%Y-%m-%d" }}</td>
             </tr>
         {% endif %}

Reply via email to