Skip to content

Commit 4b0fabe

Browse files
authored
fix:Update generate-index.sh (#497)
Changes file path generation to a more sensible URL.
1 parent a45fa8e commit 4b0fabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/generate-index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ find "${SCRIPT_DIR}" -maxdepth 1 -mindepth 1 -type d | sort | while read -r subd
4141
DIR_NAME=$(basename "${subdir}")
4242

4343
# Construct the link.
44-
LINK_URL="/samples/${DIR_NAME}/dist"
44+
LINK_URL="/samples/${DIR_NAME}/"
4545
LINK_TEXT="${DIR_NAME}"
4646

4747
# Create the list item.

0 commit comments

Comments
 (0)