File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ # Files for Cloudflare Pages to ignore
2+ node_modules/
3+ packages/
4+ bin/
5+ .git/
6+ .github/
7+ tmp/
8+ temp/
9+ coverage/
10+
11+ # Only include the docs files
12+ !mkdocs.yml
13+ !docs/
14+ !docs-requirements.txt
15+ !_redirects
Original file line number Diff line number Diff line change 1+ # Configuration for Cloudflare Pages
2+ [build ]
3+ command = " pip install -r requirements.txt && mkdocs build"
4+ publish = " site"
5+ # Skip installing node modules completely
6+ node_bundler = " none"
7+
8+ [build .environment ]
9+ PYTHON_VERSION = " 3.11"
10+ # Disable all Node.js-related actions
11+ NODE_VERSION = " none"
12+ NPM_FLAGS = " --prefix=/dev/null"
Original file line number Diff line number Diff line change 3838 "format:check" : " prettier --check \" packages/*/src/**/*.ts\" " ,
3939 "validate" : " yarn typecheck && yarn lint && yarn test && yarn format:check" ,
4040 "docs:serve" : " mkdocs serve" ,
41- "docs:build" : " mkdocs build" ,
41+ "docs:build" : " pip install -r requirements.txt && mkdocs build" ,
4242 "docs:deploy" : " mkdocs gh-deploy --force"
4343 },
4444 "keywords" : [
6767 "prettier" : " ^3.2.5" ,
6868 "typescript" : " ^5.8.2"
6969 }
70- }
70+ }
You can’t perform that action at this time.
0 commit comments