-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Split script into build and publish scripts
This way it is possible to only build the documentation locally.
- Loading branch information
Showing
3 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# This script must be called from the docs/ folder of the sdk repository. | ||
# | ||
# Make sure that you have a folder called "blocksds-docs" at the same level as | ||
# your sdk repository folder. | ||
|
||
rm -rf ../../blocksds-docs/* | ||
mv -v public/* ../../blocksds-docs/ | ||
|
||
cd ../../blocksds-docs/ | ||
|
||
touch .nojekyll | ||
git add . | ||
git commit -m"`date`" | ||
git push origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters