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

rskraba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 80c04a32d AVRO-3563: Ensure docs/current/spec.html remains viable 
(#1750)
80c04a32d is described below

commit 80c04a32dcbc0165c4e7f15f79c83afc6937193a
Author: Ryan Skraba <[email protected]>
AuthorDate: Mon Jul 4 18:42:06 2022 +0200

    AVRO-3563: Ensure docs/current/spec.html remains viable (#1750)
    
    * AVRO-3563: Ensure docs/current/spec.html remains viable
    
    * Fix typo with symbolic link directory
---
 build.sh                                                | 1 +
 doc/content/en/docs/++version++/Specification/_index.md | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/build.sh b/build.sh
index 90301d458..795192cc8 100755
--- a/build.sh
+++ b/build.sh
@@ -184,6 +184,7 @@ do
       # If it was a SNAPSHOT, it was lowercased during the build.
       cp -R build/staging-web/public/docs/"${VERSION,,}"/* "build/$DOC_DIR/"
       cp -R "build/$DOC_DIR/api" build/staging-web/public/docs/"${VERSION,,}"/
+      ( cd build/staging-web/public/docs/; ln -s "${VERSION,,}" current )
       # add LICENSE and NOTICE for docs
       mkdir -p "build/$DOC_DIR"
       cp doc/LICENSE "build/$DOC_DIR"
diff --git a/doc/content/en/docs/++version++/Specification/_index.md 
b/doc/content/en/docs/++version++/Specification/_index.md
index cde92fed9..49bdaf77f 100755
--- a/doc/content/en/docs/++version++/Specification/_index.md
+++ b/doc/content/en/docs/++version++/Specification/_index.md
@@ -3,6 +3,8 @@ title: "Specification"
 linkTitle: "Specification"
 weight: 4
 date: 2021-10-25
+aliases:
+- spec.html
 ---
 
 <!--

Reply via email to