deizel / cakephp-api-docs

CakePHP API Docs

Home Page:http://api.cakephp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CakePHP API docs

The CakePHP API docs allow you to build the API documentation as seen on api.cakephp.org. These API docs are built with apigen. Thanks to the Apigen team for producing a great tool.

Requirements:

  • PHP 5.3.7 or greater.
  • Make
  • A clone of CakePHP
  • git

Installation

After cloning the repository make sure you install the git submodules:

git submodule init
git submodule update

After installing the submodules, you'll need to have a clone of cakephp/cakephp as well. Bulding the docs uses the CakePHP source code, and will modify which tag/reference is currently checked out.

Building the documentation

To build the documentation you will need to use make. You can build all the documentation using:

make build-all

Or you can build one version by using:

make build-2.0

Where the trailing version number is the major.minor release to build. The following versions can be built:

  • 1.2
  • 1.3
  • 2.0
  • 2.1
  • 2.2
  • 2.3
  • 2.4
  • 2.5
  • 2.6
  • 3.0

By default the api-docs assume that ../cakephp is a git clone of CakePHP. Also documentation will be output to ./build/api. If you want to change these directories you can use the SOURCE_DIR and BUILD_DIR directories:

make build-2.0 SOURCE_DIR=../cake BUILD_DIR=../api-output

Is an example of using custom directories.

About

CakePHP API Docs

http://api.cakephp.org

License:Other


Languages

Language:PHP 50.2%Language:HTML 27.5%Language:JavaScript 16.4%Language:CSS 4.8%Language:Makefile 1.0%Language:Batchfile 0.1%