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

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ef2739434 ninja-fix branch changes also need update to the 
move_intree_document_directories calls in prepare_site_html_for_publication in 
docker-entrypoint.sh
ef2739434 is described below

commit ef27394343bb3acba9eb583860d70665954dfbf9
Author: mck <[email protected]>
AuthorDate: Mon Aug 14 19:56:05 2023 +0200

    ninja-fix branch changes also need update to the 
move_intree_document_directories calls in prepare_site_html_for_publication in 
docker-entrypoint.sh
---
 site-content/Dockerfile           | 1 +
 site-content/docker-entrypoint.sh | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/site-content/Dockerfile b/site-content/Dockerfile
index 76996d40c..11993bd3c 100644
--- a/site-content/Dockerfile
+++ b/site-content/Dockerfile
@@ -90,6 +90,7 @@ ENV ANTORA_SITE_START_PAGE="_"
 
 # Build from 3.11.5 as document generation for previous versions is broken.
 ENV 
ANTORA_CONTENT_SOURCES_CASSANDRA_URL="https://github.com/apache/cassandra.git";
+# changing the next line also needs updates to the 
move_intree_document_directories calls in prepare_site_html_for_publication in 
docker-entrypoint.sh
 ENV ANTORA_CONTENT_SOURCES_CASSANDRA_BRANCHES="trunk cassandra-5.0 
cassandra-4.1 cassandra-4.0 cassandra-3.11"
 # FIXME – we can't generate tags yet as in-tree doc/antora.yml doesn't specify 
specifc tag versions
 ENV ANTORA_CONTENT_SOURCES_CASSANDRA_TAGS=""
diff --git a/site-content/docker-entrypoint.sh 
b/site-content/docker-entrypoint.sh
index 40c2be430..a2d450fd3 100755
--- a/site-content/docker-entrypoint.sh
+++ b/site-content/docker-entrypoint.sh
@@ -242,8 +242,9 @@ prepare_site_html_for_publication() {
     # FIXME – we can't generate tags yet as in-tree doc/antora.yml doesn't 
specify specifc tag versions, so just copy them for now (see same fixme in 
Dockerfile)
     move_intree_document_directories "3.11" "3.11.11" "3.11.12" "3.11.13"
     move_intree_document_directories "4.0" "4.0.0" "4.0.1" "4.0.2" "4.0.3" 
"4.0.4" "4.0.5" "stable"
-    move_intree_document_directories "4.1" "latest"
-    move_intree_document_directories "trunk" "4.2"
+    move_intree_document_directories "4.1" "4.1.0" "4.1.1" "4.1.2" "4.1.3"
+    move_intree_document_directories "5.0" "5.0"
+    move_intree_document_directories "trunk" "5.1"
   fi
 
   popd > /dev/null


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to