We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ed233 commit a321006Copy full SHA for a321006
samples/generate-index.sh
@@ -27,7 +27,7 @@ find "${SCRIPT_DIR}" -maxdepth 1 -mindepth 1 -type d | while read -r subdir; do
27
DIR_NAME=$(basename "${subdir}")
28
29
# Construct the link.
30
-LINK_URL="${DIR_NAME}/samples/app/dist/"
+LINK_URL="/samples/${DIR_NAME}/app/dist/"
31
LINK_TEXT="${DIR_NAME}"
32
33
# Create the list item.
@@ -43,4 +43,4 @@ echo "HTML file generated: ${OUTPUT_FILE}"
43
echo "from ${SCRIPT_DIR}/${OUTPUT_FILE}"
44
echo "to ${DIST_DIR}/${OUTPUT_FILE}"
45
46
-cp "${PROJECT_ROOT}/${OUTPUT_FILE}" "${DIST_DIR}/${OUTPUT_FILE}"
+cp "${PROJECT_ROOT}/${OUTPUT_FILE}" "${DIST_DIR}/${OUTPUT_FILE}"
0 commit comments