Defold game engine documentation for www.defold.com

Mikael Säker c8404c646f Fixes to the snake tutorial. 8 年之前
docs c8404c646f Fixes to the snake tutorial. 8 年之前
lib 398c721abd Checked a bunch of documents. Completed doctest. Styling of tables. 8 年之前
.gitignore 1bf4b8cae8 Added node stuff and gcs sdk to .gitignore. 8 年之前
README.md f13046a2aa Updated README. 8 年之前
gulpfile.js 601dd24653 Fixed 2d graphics doc error. Renamed sass for clarity. Texture profiles wip. 8 年之前
package.json 6c06ca1c98 Updated README. Fixes to runner tutorial. 8 年之前
publish.sh 874c2ff12c Publish leaves ref/* alone in GCS bucket. 8 年之前

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.