mirror of
https://github.com/cliffe/HacktivityLabSheets.git
synced 2026-02-21 11:18:09 +00:00
Enhance lab sheets with action item styling and installation guide
- Added a new Action Items Guide to provide styling classes for highlighting important sections in lab sheets. - Introduced an INSTALL.md file detailing Jekyll installation and testing procedures. - Implemented action item and warning item styles in the main stylesheet for better visual distinction. - Updated lab content to utilize new action item classes for clarity and emphasis on critical instructions. - Enhanced JavaScript functionality to process custom highlight syntax in lab content.
This commit is contained in:
59
verify-setup.sh
Executable file
59
verify-setup.sh
Executable file
@@ -0,0 +1,59 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Verification script for Jekyll setup
|
||||
|
||||
echo "🔍 Verifying Jekyll setup..."
|
||||
echo ""
|
||||
|
||||
# Check if we're in the right directory
|
||||
if [ -f "_config.yml" ] && [ -d "_labs" ]; then
|
||||
echo "✅ In correct Jekyll project directory"
|
||||
else
|
||||
echo "❌ Not in a Jekyll project directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check for required files
|
||||
echo "🔍 Checking required files..."
|
||||
required_files=("_config.yml" "index.md" "_layouts/default.html" "_layouts/lab.html" "assets/css/hacktivity-theme.scss")
|
||||
for file in "${required_files[@]}"; do
|
||||
if [ -f "$file" ]; then
|
||||
echo "✅ $file exists"
|
||||
else
|
||||
echo "❌ $file is missing"
|
||||
fi
|
||||
done
|
||||
|
||||
# Check for lab files
|
||||
echo ""
|
||||
echo "🔍 Checking lab files..."
|
||||
lab_count=$(find _labs -name "*.md" | wc -l)
|
||||
echo "📄 Found $lab_count lab files"
|
||||
|
||||
# Check for plugins
|
||||
echo ""
|
||||
echo "🔍 Checking plugins..."
|
||||
if [ -f "_plugins/include_subdirectories.rb" ]; then
|
||||
echo "✅ Subdirectory inclusion plugin exists"
|
||||
else
|
||||
echo "❌ Subdirectory inclusion plugin missing"
|
||||
fi
|
||||
|
||||
# Check Gemfile
|
||||
echo ""
|
||||
echo "🔍 Checking Gemfile..."
|
||||
if [ -f "Gemfile" ]; then
|
||||
echo "✅ Gemfile exists"
|
||||
echo "📦 Dependencies:"
|
||||
grep "gem " Gemfile | sed 's/^/ /'
|
||||
else
|
||||
echo "❌ Gemfile missing"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "🎯 Setup verification complete!"
|
||||
echo ""
|
||||
echo "Next steps:"
|
||||
echo "1. Install Ruby (see INSTALL.md)"
|
||||
echo "2. Run: ./test-jekyll.sh"
|
||||
echo "3. Open http://localhost:4000 in your browser"
|
||||
Reference in New Issue
Block a user