Skip to content

Commit 3149bc8

Browse files
authored
fix(template): Use product string in docs templating script (#616)
* fix(template): Use product name in docs templating script * chore: Make product name consistent for commons-operator
1 parent 5c168f3 commit 3149bc8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/repositories.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories:
99

1010
- name: commons-operator
1111
pretty_string: Stackable Commons
12-
product_string: commons
12+
product_string: commons-operator
1313
url: stackabletech/commons-operator.git
1414
config:
1515
has_product: false

template/scripts/docs_templating.sh.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ do
3939
done
4040

4141
# Ensure this script is executable
42-
chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh" \
43-
|| chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh" \
42+
chmod +x "docs/modules/{[ operator.product_string }]/examples/getting_started/getting_started.sh" \
43+
|| chmod +x "docs/modules/{[ operator.product_string }]/examples/getting_started/code/getting_started.sh" \
4444
|| true
4545

4646
echo "done"

0 commit comments

Comments
 (0)