Defold game engine documentation for www.defold.com

dependabot[bot] 0413363b4d Bump lodash from 4.17.11 to 4.17.13 (#59) 6 년 전
docs 6781ec54b3 Permissions note for merging tool (#60) 6 년 전
lib 398c721abd Checked a bunch of documents. Completed doctest. Styling of tables. 8 년 전
.gitignore 3a7c61852f Updated editor overwiew and scene editor details to Ed2. 7 년 전
README.md 18c4cd5d43 Update README.md 6 년 전
gulpfile.js 7722e17d67 Updated manual foundation for recent font changes (#27) 6 년 전
package-lock.json 0413363b4d Bump lodash from 4.17.11 to 4.17.13 (#59) 6 년 전
package.json 0413363b4d Bump lodash from 4.17.11 to 4.17.13 (#59) 6 년 전
publish.sh 62c7e3c6b9 Updated the project settings manual to reflect ed 2. 7 년 전

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.

Installing Google Cloud SDK & Getting access

  1. Go to https://cloud.google.com/sdk/docs/quickstart-macos and download the correct package.
  2. Run the install.sh script.
  3. Run gcloud init logging into your King account ([email protected]).
  4. Select the 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.
  5. Everything should be OK now and you should have permission to run the ./publish_sh script.