Hasufel / flixel-docs

The main location for HaxeFlixel documentation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flixel | addons | ui | demos | tools | templates | docs | haxeflixel.com

Bitdeli Badge

##About

This is the main location for HaxeFlixel documentation. Pull requests from this location will be pushed to the live website periodically, so please help us improve the HaxeFlixel docs.

Contents

Main documentation

The main documentation is made up of *.html.md files in the ./documentation folder. Each file and folder starts with a numerical prefix specifying the order listed on the docpad website.

Additional pages can be added using the same extension and using a header specifying the title as seen in the other pages. Eg:

```
title: "Documentation Page"
```

Use Regular github flavoured markdown for the page.
Note `title:` above is case sensitive.

The markdown syntax used in the docs is the GitHub-Flavored-Markdown, thus it's very convenient to directly edit the files via GitHub's web editor.

API documentation

Api documentation is provided in the ./api folder, they are currently generated with chxdoc. You can view the api docs offline by opening the index.html file in a browser.

To generate the API docs yourself use the following method:

  • Install chxdoc for Haxe 3

      haxelib git chxdoc https://github.com/ibilon/chxdoc
    

    Move your cwd to this relative path of the project:

      cd ./api/chxdoc-gen
      haxelib run chxdoc install
    
  • Generate the API docs

      haxe docs.hxml
    

Note this will use your localy enabled haxelib flixel versions, eg if you have haxelib git flixel set to dev etc.

The docs will now be generated in the ./docs folder.

About

The main location for HaxeFlixel documentation.

License:MIT License


Languages

Language:CSS 77.2%Language:JavaScript 22.8%