From 82c22f784e6d08749aada5102565294994f71016 Mon Sep 17 00:00:00 2001 From: Techassi Date: Thu, 16 Jul 2026 11:55:10 +0200 Subject: [PATCH 1/3] fix(template): Use operator name in docs templating script --- template/scripts/{docs_templating.sh => docs_templating.sh.j2} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename template/scripts/{docs_templating.sh => docs_templating.sh.j2} (84%) diff --git a/template/scripts/docs_templating.sh b/template/scripts/docs_templating.sh.j2 similarity index 84% rename from template/scripts/docs_templating.sh rename to template/scripts/docs_templating.sh.j2 index 8468a971..708a51a0 100755 --- a/template/scripts/docs_templating.sh +++ b/template/scripts/docs_templating.sh.j2 @@ -39,6 +39,6 @@ do done # Ensure this script is executable -chmod +x docs/modules/opensearch/examples/getting_started/getting_started.sh +chmod +x docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh || chmod +x docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh || true echo "done" From adbc8206f21f05998353ed0edcb0b41e1bccf8a5 Mon Sep 17 00:00:00 2001 From: Techassi Date: Thu, 16 Jul 2026 12:00:42 +0200 Subject: [PATCH 2/3] fix: Quote Jinja2 template strings to not trigger shellcheck --- template/scripts/docs_templating.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/scripts/docs_templating.sh.j2 b/template/scripts/docs_templating.sh.j2 index 708a51a0..63b82aae 100755 --- a/template/scripts/docs_templating.sh.j2 +++ b/template/scripts/docs_templating.sh.j2 @@ -39,6 +39,6 @@ do done # Ensure this script is executable -chmod +x docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh || chmod +x docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh || true +chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh" || chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh" || true echo "done" From 0c0b39aa63e2edce327f3ba47d016286ca65ad51 Mon Sep 17 00:00:00 2001 From: Techassi Date: Thu, 16 Jul 2026 12:03:12 +0200 Subject: [PATCH 3/3] chore(template): Split command across multiple lines Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com> --- template/scripts/docs_templating.sh.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/scripts/docs_templating.sh.j2 b/template/scripts/docs_templating.sh.j2 index 63b82aae..4001b5bb 100755 --- a/template/scripts/docs_templating.sh.j2 +++ b/template/scripts/docs_templating.sh.j2 @@ -39,6 +39,8 @@ do done # Ensure this script is executable -chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh" || chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh" || true +chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh" \ + || chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh" \ + || true echo "done"