Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Modify script for slate (#417)
Browse files Browse the repository at this point in the history
Modifies the script for slate / sync-docs.sh
  • Loading branch information
cdrage committed Nov 2, 2017
1 parent 6c06cb8 commit 266e828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/sync-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ done
cd ..

# Build slate / file-reference
cp mv docs/file-reference.md slate/source/index.html.md
mv docs/file-reference.md slate/source/index.html.md
slate="---
title: Kedge File Reference
Expand All @@ -90,11 +90,11 @@ toc_footers:
search: true
---
"
echo -e "$slate"\n$(cat slate/source/index.html.md)" > slate/source/index.html.md
echo -e "$slate\n$(cat slate/source/index.html.md)" > slate/source/index.html.md
cd slate
docker run --rm -v $PWD:/usr/src/app/source -w /usr/src/app/source cdrage/slate bundle exec middleman build --clean
rm _site/file-reference
mv build _site/file-reference
mv slate/build _site/file-reference
cd ..

# add relevant user information
Expand Down

0 comments on commit 266e828

Please sign in to comment.