Giter Club home page Giter Club logo

devkit-doc's Introduction

Game Closure DevKit Documentation

Repo Structure

This repository is separated in to the following directories:

  • api ---Markdown files and images used to generate the API Reference, ordered by namespace.
  • guide ---Markdown files and images used to generate user guides and tutorials.
  • native ---Markdown files and images used to generate native guides.
  • html ---The static html and styles for the doc website. Generated files are also placed in here.
  • build ---Build script and template used to generate the documentation.

Editing

All documentation is written in markdown and converted to html using Pandoc. Subsequently, any of Pandoc's supported syntax will work in these documents.

Trivial edits may be done directly through the GitHub interface: just select the file and click the Edit button in the upper-right corner, make your changes and submit a commit message. This will be applied directly to the branch you are browsing (probably master), so care should be taken.

For non-trivial edits, please create a separate branch and submit a pull request---the same as other software projects.

Including Screenshots and Assets

Images, diagrams, screenshots, and other assets should be placed in the assets directory located within the guide's respective root directory: api, guide, or native.

Reference the image in the guide using a relative path from the root directory, for example:

<img src="./assets/guide-dir/screenshot.png">

Update the Navigation Bar

If adding a new link to the nav bar displayed at the top of each page, you must edit two files:

  • ./html/index.html
  • ./build/template.html

This is required because the site is statically generated and the relative paths in index.html differ from the rest of the site.

Build a Local Copy

To build a local copy of the documentation, install Pandoc to convert the markdown to html. With that, simply run the shell script:

$ ./build/make-doc

This will output the generated documentation in the html directory.

License

This documentation is licensed under the Creative Commons Attribution-ShareAlike license.

devkit-doc's People

Contributors

arnovandervegt avatar carlqlange avatar chris-gc avatar derekburch avatar fairfieldt avatar geoffb avatar jacoblyles avatar lamberta avatar lord2800 avatar louisstow avatar mcav avatar mgh avatar mikehenrty avatar richtaur avatar rogueskib avatar tcr avatar tkazec avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.