From 35991c5786941babeed0c76bfc3b55185f721e48 Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Tue, 17 Nov 2015 18:03:18 -0800 Subject: [PATCH] Add docs script to automatically move output of grunt docs to gh-pages --- script/docs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 script/docs diff --git a/script/docs b/script/docs new file mode 100644 index 000000000..0148edf31 --- /dev/null +++ b/script/docs @@ -0,0 +1,13 @@ +#!/bin/bash + +mkdir docs/output +script/grunt docs +git checkout gh-pages --quiet +cp -rf docs/output/* docs +mv -f docs/sidebar.json _data +rm -f docs/api.json +rm -rf docs/output + +git add . +printf "Now commit the changes! \n\n" +git status