Defold game engine documentation for www.defold.com

Björn Ritzl 4c5b7b51a8 Merge pull request #8 from rgrams/update_war_battles_menus %!s(int64=7) %!d(string=hai) anos
docs c90941d700 Update menu names to match latest version of Editor 2 %!s(int64=7) %!d(string=hai) anos
lib 398c721abd Checked a bunch of documents. Completed doctest. Styling of tables. %!s(int64=8) %!d(string=hai) anos
.gitignore 1bf4b8cae8 Added node stuff and gcs sdk to .gitignore. %!s(int64=8) %!d(string=hai) anos
README.md f13046a2aa Updated README. %!s(int64=8) %!d(string=hai) anos
gulpfile.js ed6cdc4ca5 Support for transclusion. Install manuals and new overview. %!s(int64=8) %!d(string=hai) anos
package.json ed6cdc4ca5 Support for transclusion. Install manuals and new overview. %!s(int64=8) %!d(string=hai) anos
publish.sh 874c2ff12c Publish leaves ref/* alone in GCS bucket. %!s(int64=8) %!d(string=hai) anos

README.md

Defold manuals

This repo holds the markdown source files and assets for Defold documentation. Each language has its own subfolder in "docs".

Dependencies

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.)

Edit and preview

$ 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.

Build and publish

$ 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.