Move markdown book out of src/

This commit is contained in:
Greg Fitzgerald
2018-11-26 09:12:22 -07:00
committed by Grimes
parent a13e25f083
commit 88e270723f
40 changed files with 18 additions and 12 deletions

View File

@@ -22,13 +22,13 @@ maybe_install() {
export PATH=$CARGO_HOME/bin:$PATH
maybe_install mdbook
_ mdbook test
_ mdbook build
_ mdbook test book
_ mdbook build book
echo --- create book repo
(
set -x
cd book/
cd book/html/
git init .
git config user.email "maintainers@solana.com"
git config user.name "$(basename "$0")"
@@ -40,7 +40,7 @@ echo --- publish
if [[ $BUILDKITE_BRANCH = master ]]; then
(
set -x
cd book/
cd book/html/
git remote add origin git@github.com:solana-labs/solana.git
git push -f origin HEAD:gh-pages
)

View File

@@ -47,8 +47,8 @@ done
# Build the HTML
export PATH=$CARGO_HOME/bin:$PATH
maybe_install mdbook
_ mdbook test
_ mdbook build
_ mdbook test book
_ mdbook build book
echo --- ci/localnet-sanity.sh
(