From 6db39f87f37f8e0b7edcf9e5fe9ecdff7a2037d2 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Mon, 21 Nov 2022 11:41:10 +0000 Subject: [PATCH 1/2] DNM - Preview of spec#95 Signed-off-by: Andrea Frittoli --- content/en/docs | 2 +- scripts/build-static.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs b/content/en/docs index e8bec3f..75df699 160000 --- a/content/en/docs +++ b/content/en/docs @@ -1 +1 @@ -Subproject commit e8bec3ffc87b8d99d8919c189326f45321becd4e +Subproject commit 75df699fa5687416b78fce98f4712071b266eff6 diff --git a/scripts/build-static.sh b/scripts/build-static.sh index 62b0bde..b55198a 100755 --- a/scripts/build-static.sh +++ b/scripts/build-static.sh @@ -7,10 +7,6 @@ BASE_DIR="$( cd "$( dirname "$0" )/.." >/dev/null 2>&1 && pwd )" STATIC_DIR="${BASE_DIR}/static" DOCS_DIR="${BASE_DIR}/content/en/docs" -# Serve static images -cp ${DOCS_DIR}/images/* ${STATIC_DIR}/images/ -sed -i -e 's/\(images\/[a-zA-Z\-]*\.svg\)/\/\1/g' ${DOCS_DIR}/*.md - # Serve versioned schemas cd ${DOCS_DIR} ORIGINAL_REVISION=$(git rev-parse HEAD) @@ -29,4 +25,8 @@ for tag in $(git tag); do cp ${schema} ${TARGET_SCHEMA_FOLDER}/${TARGET_SCHEMA} done done -git checkout ${ORIGINAL_REVISION} \ No newline at end of file +git checkout ${ORIGINAL_REVISION} + +# Serve static images +cp ${DOCS_DIR}/images/* ${STATIC_DIR}/images/ +sed -i -e 's/\(images\/[a-zA-Z\-]*\.svg\)/\/\1/g' ${DOCS_DIR}/*.md From 2e505bed4a9013ba869e9d31bc6c2ca7673e1f49 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Tue, 22 Nov 2022 11:49:27 +0000 Subject: [PATCH 2/2] New commmits on PR#95 Signed-off-by: Andrea Frittoli --- content/en/docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs b/content/en/docs index 75df699..486f65b 160000 --- a/content/en/docs +++ b/content/en/docs @@ -1 +1 @@ -Subproject commit 75df699fa5687416b78fce98f4712071b266eff6 +Subproject commit 486f65b6950c2d4b35cba8101baa489251cce439