-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Upgrade documentation to hugo, update quickstart
- Loading branch information
1 parent
d05741f
commit 64c6dea
Showing
192 changed files
with
2,362 additions
and
24,311 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 |
---|---|---|
|
@@ -13,32 +13,6 @@ ssh-keyscan github.com >> "$HOME/.ssh/known_hosts" | |
git config --local user.email "[email protected]" | ||
git config --local user.name "M3 Buildkite Bot" | ||
|
||
rm -rf site | ||
# NB(schallert): if updating this build step or the one below be sure to update | ||
# the docs-build make target (see note there as to why we can't share code | ||
# between the two). | ||
mkdocs build -t material | ||
mkdocs gh-deploy --force --dirty | ||
|
||
# We do two builds to ensure any behavior of gh-deploy doesn't impact the second | ||
# build. | ||
rm -rf site | ||
mkdocs build -t material | ||
|
||
git checkout -t origin/docs | ||
# Trying to commit 0 changes would fail, so let's check if there's any changes | ||
# between docs branch and our changes. | ||
if diff -qr site m3db.io; then | ||
echo "no docs changes" | ||
else | ||
rm -rf m3db.io/* | ||
cp -r site/* m3db.io/ | ||
|
||
git add m3db.io | ||
git commit -m "Docs update $(date)" | ||
git push | ||
fi | ||
|
||
# Also build & push the operator's docs. | ||
git clean -dffx | ||
git checkout -t origin/operator | ||
|
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,3 @@ | ||
{ | ||
"siteId": "b5392a2b-3bc8-44d0-b237-50e5f9b2553e" | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.