Skip to content

Commit

Permalink
Generated docs get copied to docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jlavelle committed Oct 19, 2020
1 parent 5f9b460 commit 5f17c15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
/.spago
/.cache
/bundle/
/dist
/dist
/docs
5 changes: 5 additions & 0 deletions scripts/mkDocs.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
set root (realpath (dirname (status --current-filename)))/..
echo Deleting old documentation in $root/docs
rm -rf $root/docs
cd $root/examples
spago docs
echo Copying generated documentation to $root/docs
rsync -a $root/examples/generated-docs/html/ $root/docs/
echo Done.

0 comments on commit 5f17c15

Please sign in to comment.