-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from stephenplusplus/docs
docs: jsdoc + travis auto build to gh-pages.
- Loading branch information
Showing
33 changed files
with
9,181 additions
and
639 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"opts": { | ||
"destination": "docs", | ||
"encoding": "utf-8" | ||
}, | ||
"plugins": [ | ||
"plugins/markdown" | ||
], | ||
"source": { | ||
"include": [ | ||
"lib/datastore/index.js", | ||
"lib/datastore/dataset.js", | ||
"lib/datastore/query.js", | ||
"lib/storage/index.js", | ||
"lib/index.js" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,27 @@ | ||
language: node_js | ||
script: "npm run-script lint && npm run-script test" | ||
language: | ||
node_js | ||
node_js: | ||
- "0.10" | ||
- 0.10 | ||
branches: | ||
only: | ||
- master | ||
env: | ||
global: | ||
- secure: "B1vanjI2TMf+YnmbcF5HWAMNnmT+CFr2EB1CCIcyoWqs2RIBvgiDH0gDR46iUDdfPRSt3Eokaru1fY8ptZDRnrt3oKokWp4ZrRO0x7uUGbkGfdmHHxnOlUA1m9rVhaOBCWl5opfaA8ncWcXwdWZGg7HWpS7EfTNr2dIr7lAC2mU=" | ||
- GH_OWNER: GoogleCloudPlatform | ||
- GH_PROJECT_NAME: gcloud-node | ||
script: | ||
- npm run lint | ||
- npm run test | ||
after_success: | ||
- git submodule add -b gh-pages https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} site > /dev/null 2>&1 | ||
- cd site | ||
- if git checkout gh-pages; then git checkout -b gh-pages; fi | ||
- git rm -r . | ||
- cp -R ../docs/* . | ||
- cp ../docs/.* . | ||
- git add -f . | ||
- git config user.email "sawchuk@gmail.com" | ||
- git config user.name "stephenplusplus" | ||
- git commit -am "building gh-pages [ci skip]" | ||
- git push https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} HEAD:gh-pages > /dev/null 2>&1 |
Oops, something went wrong.