fix: add Jekyll config to prevent Liquid syntax errors in GitHub Pages
- Jekyll was trying to parse Liquid template syntax in our code examples - This caused the Pages build to fail with syntax errors - Added _config.yml to exclude all documentation and source files - GitHub Pages will now only process benchmark-related files - Fixes the pages-build-deployment workflow failure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
41
_config.yml
Normal file
41
_config.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
# Jekyll configuration for GitHub Pages
|
||||
# This is only used for serving benchmark results
|
||||
|
||||
# Only process benchmark-related files
|
||||
include:
|
||||
- index.html
|
||||
- benchmarks/
|
||||
|
||||
# Exclude everything else to prevent Liquid syntax errors
|
||||
exclude:
|
||||
- "*.md"
|
||||
- "*.json"
|
||||
- "*.ts"
|
||||
- "*.js"
|
||||
- "*.yml"
|
||||
- src/
|
||||
- tests/
|
||||
- docs/
|
||||
- scripts/
|
||||
- dist/
|
||||
- node_modules/
|
||||
- package.json
|
||||
- package-lock.json
|
||||
- tsconfig.json
|
||||
- README.md
|
||||
- CHANGELOG.md
|
||||
- LICENSE
|
||||
- Dockerfile*
|
||||
- docker-compose*
|
||||
- .github/
|
||||
- .vscode/
|
||||
- .claude/
|
||||
- deploy/
|
||||
- examples/
|
||||
- data/
|
||||
|
||||
# Disable Jekyll processing for files we don't want processed
|
||||
plugins: []
|
||||
|
||||
# Use simple theme
|
||||
theme: null
|
||||
Reference in New Issue
Block a user