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

stevedlawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 23a7058  Redirect releases/ to libraryAndCLI/
23a7058 is described below

commit 23a7058e599ec3eddccf0370bd1835036bccd859
Author: Steve Lawrence <[email protected]>
AuthorDate: Thu Jun 4 10:05:30 2026 -0400

    Redirect releases/ to libraryAndCLI/
    
    Commit 4831a9ff0b renamed the releases.md file to libraryAndCLI.md to
    identify the subprojects. However, some places might still reference the
    old releases/ URL, which currently shows a directory listing and is not
    particularly user friendly.
    
    This adds the jekeyll-redirect-from plugin and adds the redirect_from
    setting to the libraryAndCLI page to auto redirect to old URL to the new
    one.
---
 Gemfile               | 1 +
 Gemfile.lock          | 3 +++
 site/_config.yml      | 3 ++-
 site/libraryAndCLI.md | 1 +
 4 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Gemfile b/Gemfile
index 175a2de..6792d0a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -17,6 +17,7 @@ source 'https://rubygems.org'
 
 gem 'jekyll', '= 4.2.2'
 gem 'jekyll-asciidoc', '= 3.0.1'
+gem 'jekyll-redirect-from', '= 0.16.0'
 gem 'asciidoctor-diagram', '= 3.0.0'
 gem 'asciidoctor-diagram-plantuml', '= 1.2025.2'
 gem 'asciidoctor-diagram-ditaamini', '= 1.0.3'
diff --git a/Gemfile.lock b/Gemfile.lock
index cf0aaef..e1db24e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -41,6 +41,8 @@ GEM
     jekyll-asciidoc (3.0.1)
       asciidoctor (>= 1.5.0, < 3.0.0)
       jekyll (>= 3.0.0)
+    jekyll-redirect-from (0.16.0)
+      jekyll (>= 3.3, < 5.0)
     jekyll-sass-converter (2.2.0)
       sassc (> 2.0.1, < 3.0)
     jekyll-watch (2.2.1)
@@ -80,6 +82,7 @@ DEPENDENCIES
   asciidoctor-diagram-plantuml (= 1.2025.2)
   jekyll (= 4.2.2)
   jekyll-asciidoc (= 3.0.1)
+  jekyll-redirect-from (= 0.16.0)
   webrick (= 1.9.1)
 
 BUNDLED WITH
diff --git a/site/_config.yml b/site/_config.yml
index a796a2b..b0479f4 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -45,9 +45,10 @@ defaults:
 jira_base_url: https://issues.apache.org/jira/browse
 jira_key: DAFFODIL
 
-# plugin for asciidoc (.adoc) files
+# plugins
 plugins:
 - jekyll-asciidoc
+- jekyll-redirect-from
 - asciidoctor-diagram
 
 keep_files:
diff --git a/site/libraryAndCLI.md b/site/libraryAndCLI.md
index 07ada0a..1515378 100644
--- a/site/libraryAndCLI.md
+++ b/site/libraryAndCLI.md
@@ -2,6 +2,7 @@
 layout: page
 title: Daffodil Library and CLI
 group: nav-right
+redirect_from: /releases/
 ---
 <!--
 {% comment %}

Reply via email to