Defold game engine documentation for www.defold.com
|
6 年之前 | |
---|---|---|
docs | 6 年之前 | |
lib | 8 年之前 | |
.gitignore | 7 年之前 | |
README.md | 6 年之前 | |
gulpfile.js | 6 年之前 | |
package-lock.json | 6 年之前 | |
package.json | 6 年之前 | |
publish.sh | 7 年之前 |
This repo holds the markdown source files and assets for Defold documentation. Each language has its own subfolder in "docs".
Node.js and Gulp:
$ brew install node
$ npm install gulp-cli -g
$ npm install
(Don't bother about "npm WARN deprecated" things during npm install.)
$ gulp watch
Builds all documentation for preview and opens a browser pointing to the build root. Edits to any .md manual or image is detected, rebuilt and reloaded in browser.
$ gulp build
$ ./publish_sh
Publishing documentation to GCS is done with the gsutil
which is part of the Google Cloud SDK. It's automatically installed if needed.
install.sh
script.gcloud init
logging into your King account ([email protected]
).defold-web
project when asked which should be the active project. If you don't see it in the list ask Samuel or Jonas about access../publish_sh
script.