You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: enhance documentation generation workflow with case sensitivity fixes and markdown handling
- Updated the workflow to address case sensitivity issues by renaming INDEX.html to index.html.
- Implemented a mechanism to convert unprocessed markdown files to HTML, ensuring proper redirection and file structure.
- Added verification steps to confirm successful handling of previously problematic files and to list remaining markdown files in the output.
# Check if any markdown files remain in output (there shouldn't be any)
153
+
# List remaining markdown files (if any)
125
154
md_files=$(find _site -name "*.md" | wc -l)
126
155
if [ "$md_files" -gt 0 ]; then
127
-
echo "⚠️ WARNING: Found $md_files markdown files in output (should be 0):"
156
+
echo "⚠️ WARNING: Still found $md_files markdown files in output:"
128
157
find _site -name "*.md" | head -n 10
129
158
else
130
159
echo "✅ No markdown files found in output (good!)"
131
160
fi
132
161
133
-
# Check for specific problematic files to make sure they were converted
134
-
for check_file in "features/configuration-based/PAGE_TEMPLATES.html" "features/configuration-based/PAGE_EVENTS.html" "features/code-based/PAGE_VIEWS.html"; do
135
-
if [ -f "_site/$check_file" ]; then
136
-
echo "✅ Successfully converted: $check_file"
162
+
# Check for previously failed files
163
+
for check_file in "features/configuration-based/PAGE_TEMPLATES" "features/configuration-based/PAGE_EVENTS" "features/code-based/PAGE_VIEWS"; do
164
+
if [ -f "_site/$check_file.html" ] || [ -d "_site/$check_file" ]; then
165
+
echo "✅ Successfully handled: $check_file"
137
166
else
138
-
echo "❌ FAILED to convert: $check_file"
167
+
echo "❌ FAILED to handle: $check_file"
139
168
fi
140
169
done
141
170
142
171
# Final output structure
143
172
echo "📊 Final site structure:"
144
-
find _site -type f | grep -v ".git" | grep -e "index.html" -e "features" | sort | head -n 15
173
+
find _site -type f | grep -e "index.html" -e "features" | sort | head -n 15
0 commit comments