mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-21 15:42:19 +08:00
refactor(script/docs): Add comments
This commit is contained in:
parent
35991c5786
commit
52e2c1251e
1 changed files with 5 additions and 3 deletions
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Runs script/grunt docs and moves the output to gh-pages branch
|
||||||
|
# This overwrites whatever is in gh-pages
|
||||||
mkdir docs/output
|
mkdir docs/output
|
||||||
script/grunt docs
|
script/grunt docs
|
||||||
git checkout gh-pages --quiet
|
git checkout gh-pages --quiet
|
||||||
cp -rf docs/output/* docs
|
cp -rf docs/output/* docs # Place all of the html in its proper place
|
||||||
mv -f docs/sidebar.json _data
|
mv -f docs/sidebar.json _data # Move sidebar.json to appropriate folder
|
||||||
rm -f docs/api.json
|
rm -f docs/api.json # Remove unecessary file
|
||||||
rm -rf docs/output
|
rm -rf docs/output
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
|
|
Loading…
Reference in a new issue