Spaces:
Sleeping
Sleeping
Download gen_docs.sh from MilesCranmer/PySR: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/spaces/MilesCranmer/PySR/resolve/aa4fcd975464934db5610c0b40cce3431694de56/gen_docs.sh
- Command line
-
hf download hf://spaces/MilesCranmer/PySR@aa4fcd975464934db5610c0b40cce3431694de56/gen_docs.sh
-
curl -L -o gen_docs.sh https://huggingface.co/spaces/MilesCranmer/PySR/resolve/aa4fcd975464934db5610c0b40cce3431694de56/gen_docs.sh
307 Bytes
| cat README.md | grep -v 'pysr_logo.svg' | grep -E -v '\<.*div.*\>' > docs/index.md | |
| # Transform "## Test status" to "**Test status**": | |
| cd docs | |
| sed -i.bak 's/\#\#\# Test status/**Test status**/g' index.md | |
| # Change '# ' to '## ': | |
| sed -i.bak '10,$s/^\# /## /g' index.md | |
| python generate_papers.py |