Skip to content

Commit 8230459

Browse files
committed
Move features folder to root
1 parent f4813f4 commit 8230459

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/scripts/generate-navigation.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
#!/bin/bash
22

33
PWD=$(pwd)
4-
FEATURES="${PWD}/docs/modules/features/partials"
4+
FEATURES="${PWD}/features/"
55
CATEGORIES="${PWD}/docs/modules/categories"
66
VERSIONS="${PWD}/docs/modules/versions"
77
GIT_COMMIT=""
88

99
echo "* xref:index.adoc[]" > "${CATEGORIES}/nav.adoc"
1010
echo "* xref:index.adoc[]" > "${VERSIONS}/nav.adoc"
11+
mkdir -p "${PWD}/docs/modules/features/partials"
1112

1213
for page in $(ls ${FEATURES})
1314
do
1415
echo "➡️ Processing ${page}"
16+
cp "${FEATURES}/${page}" "${PWD}/docs/modules/features/partials/${page}"
1517
DATABASE_CATEGORY=$(grep ":database-category:" "${FEATURES}/${page}" | awk '{print $2}')
1618
DATABASE_VERSION=$(grep ":database-version:" "${FEATURES}/${page}" | awk '{print $2}')
1719

File renamed without changes.

0 commit comments

Comments
 (0)