MilesCranmer commited on
Commit
082d514
β€’
1 Parent(s): 55da5b6

Tweak gen_docs.sh

Browse files
gen_docs.sh β†’ docs/gen_docs.sh RENAMED
@@ -1,9 +1,12 @@
1
  #!/bin/bash -e
2
 
3
- cat README.md | grep -v 'pysr_logo.svg' | grep -E -v '\<.*div.*\>' > docs/index.md
4
- # Transform "## Test status" to "**Test status**":
5
- cd docs
 
6
  sed -i.bak 's/\#\#\# Test status/**Test status**/g' index.md
7
  # Change '# ' to '## ':
8
  sed -i.bak '10,$s/^\# /## /g' index.md
 
 
9
  python generate_papers.py
 
1
  #!/bin/bash -e
2
 
3
+ # Generate home page using README.md:
4
+ cat ../README.md | grep -v 'pysr_logo.svg' | grep -E -v '\<.*div.*\>' > index.md
5
+
6
+ # Transform "### Test status" to "**Test status**":
7
  sed -i.bak 's/\#\#\# Test status/**Test status**/g' index.md
8
  # Change '# ' to '## ':
9
  sed -i.bak '10,$s/^\# /## /g' index.md
10
+
11
+ # Create papers.md
12
  python generate_papers.py