mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Merge pull request #1420 from glacambre/fix_make_tutorial
Fix make_tutorial
This commit is contained in:
commit
87adde1604
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ dest="../../../generated/static/clippy/"
|
||||||
|
|
||||||
for page in $pages
|
for page in $pages
|
||||||
do
|
do
|
||||||
fileroot=$(echo "$page" | cut -d'.' -f-1)
|
fileroot=$(echo "$page" | cut -d'.' -f-2)
|
||||||
sed "/REPLACETHIS/,$ d" tutor.template.html > "$dest$fileroot.html"
|
sed "/REPLACETHIS/,$ d" tutor.template.html > "$dest$fileroot.html"
|
||||||
"$(npm bin)/marked" "$page" >> "$dest$fileroot.html"
|
"$(npm bin)/marked" "$page" >> "$dest$fileroot.html"
|
||||||
sed "1,/REPLACETHIS/ d" tutor.template.html >> "$dest$fileroot.html"
|
sed "1,/REPLACETHIS/ d" tutor.template.html >> "$dest$fileroot.html"
|
||||||
|
|
Loading…
Add table
Reference in a new issue