Defold game engine documentation for www.defold.com
|
%!s(int64=7) %!d(string=hai) anos | |
---|---|---|
docs | %!s(int64=7) %!d(string=hai) anos | |
lib | %!s(int64=8) %!d(string=hai) anos | |
.gitignore | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
gulpfile.js | %!s(int64=8) %!d(string=hai) anos | |
package.json | %!s(int64=8) %!d(string=hai) anos | |
publish.sh | %!s(int64=8) %!d(string=hai) anos |
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.