Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(docs): improve readability of publish_docs #2015

Merged
merged 3 commits into from
Oct 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@
# Generates documentation and pushes it up to the site
# WARNING: Do NOT run this script unless you have remote `upstream` set properly
#
rm -rf tmp/docs && npm run build_docs && git checkout gh-pages && git fetch upstream && git rebase upstream/gh-pages && cp -r ./tmp/docs/ ./ && rm -rf tmp/ && git add . && git commit -am "chore(docs): docs generated automatically" && git push upstream gh-pages
rm -rf tmp/docs && \
npm run build_docs && \
git checkout gh-pages && \
git fetch upstream && \
git rebase upstream/gh-pages && \
cp -r ./tmp/docs/ ./ && \
rm -rf tmp/ && \
git add . && \
git commit -am "chore(docs): docs generated automatically" && \
git push upstream gh-pages