diff --git a/.github/workflows/GeneratePage.yml b/.github/workflows/GeneratePage.yml
index 0adb41c..10f5435 100644
--- a/.github/workflows/GeneratePage.yml
+++ b/.github/workflows/GeneratePage.yml
@@ -139,14 +139,44 @@ jobs:
# Generate index.html with links to all files in .out directory
- name: Generate index.html
run: |
- echo "
Generated Files
" > .out/index.html
+ echo "" > .out/index.html
+ echo "" >> .out/index.html
+ echo "" >> .out/index.html
+ echo " " >> .out/index.html
+ echo " Generated Files" >> .out/index.html
+
+ # Quick inline CSS
+ echo " " >> .out/index.html
+
+ # JavaScript for copying link
+ echo " " >> .out/index.html
+
+ echo "" >> .out/index.html
+ echo "" >> .out/index.html
+ echo " Generated Files
" >> .out/index.html
+ echo " " >> .out/index.html
+
for file in .out/*; do
fname=$(basename "$file")
+ # Skip index.html itself
if [ "$fname" != "index.html" ]; then
- echo "- $fname
" >> .out/index.html
+ echo " - " >> .out/index.html
+ # 1) Clicking the filename now copies its link instead of opening
+ echo " $fname" >> .out/index.html
+ # 2) The button actually opens (downloads/displays) the file
+ echo " " >> .out/index.html
+ echo "
" >> .out/index.html
fi
done
- echo "
" >> .out/index.html
+
+ echo "
" >> .out/index.html
+ echo "" >> .out/index.html
+ echo "" >> .out/index.html
shell: bash
- name: Setup Pages