Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
e5a83c8
1
Parent(s):
ae6214c
Add streamable to splash page of docs
Browse files- docs/gen_docs.sh +2 -1
docs/gen_docs.sh
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
#!/bin/bash -e
|
2 |
|
3 |
# Generate home page using README.md:
|
4 |
-
|
|
|
5 |
|
6 |
# Transform "### Test status" to "**Test status**":
|
7 |
sed -i.bak 's/\#\#\# Test status/**Test status**/g' index.md
|
|
|
1 |
#!/bin/bash -e
|
2 |
|
3 |
# Generate home page using README.md:
|
4 |
+
echo '<div style="width:100%;height:0px;position:relative;padding-bottom:56.250%;"><iframe src="https://streamable.com/e/ncvqhy" frameborder="0" width="100%" height="100%" allowfullscreen style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden;"></iframe></div>' > index.md
|
5 |
+
cat ../README.md | grep -v 'user-images' | grep -E -v '\<.*div.*\>' >> index.md
|
6 |
|
7 |
# Transform "### Test status" to "**Test status**":
|
8 |
sed -i.bak 's/\#\#\# Test status/**Test status**/g' index.md
|