GitHub Pages deployment configuration and assets.
- Setup Guide: ../DOCS/deployment/SETUP.md
- Workflow Reference: ../DOCS/deployment/WORKFLOW.md
- Complete Guide: ../DOCS/deployment/DEPLOYMENT.md
.github/
├── scripts/ # Build scripts
│ ├── build-site.sh # Main build orchestrator
│ ├── generate-index.py # Creates main index
│ ├── generate-interactive-viewer.py # Builds split-pane viewers
│ └── generate-docs-pages.py # Converts markdown to HTML
├── pages/ # Static assets
│ ├── assets/ # CSS, JavaScript
│ └── 404.html # Custom 404 page
├── workflow-templates/ # GitHub Actions templates
│ └── deploy-pages.yml # Auto-deployment workflow
└── requirements.txt # Python dependencies
- Trigger: Push to main branch
- Build: Run
build-site.shscript - Generate: Create static site in
dist/ - Deploy: Upload to GitHub Pages
- build-site.sh: Main orchestrator that coordinates all generators
- generate-index.py: Creates main index page from README.md
- generate-interactive-viewer.py: Builds split-pane viewers for web challenges
- generate-docs-pages.py: Converts all markdown documentation to HTML
Located in pages/assets/:
- style.css: Main site styling
- docs.css: Interactive viewer styles
- script.js: Challenge filtering logic
- docs-viewer.js: Split-pane functionality
The workflow file must be manually added to activate auto-deployment:
Copy: .github/workflow-templates/deploy-pages.yml
To: .github/workflows/deploy-pages.yml
See SETUP.md for detailed instructions.
Add to INDEX.md file's Web-Deployable Challenges section after completion
# Use venv
source venv/bin/activate
# Install dependencies
pip install -r .github/requirements.txt
# Build site
.github/scripts/build-site.sh
# Preview
cd dist && python3 -m http.server 8000For complete setup and usage:
- Start: SETUP.md
- Daily use: WORKFLOW.md
- Advanced: DEPLOYMENT.md