SkyPHP/cms — pull request #55 by stanistan (2012-08-16 21:49:53+00:00)
Title: api documentation page to be inherited

Usage:

```php
inherit([
'api' => new \MyPath\To\Namespace\Api, // should extend \Sky\Api
'title' => 'My API Docs', // default: Developer API,
'template' => 'my-template-name', // the template alias to (default: website)
'config' => [
'url' => [
'protocol' => 'https',
'domain' => 'api.mydomain.com',
'url' => '/api/version2'
]
]
]);

```

Use `@apiDoc` and `@apiParam` do describe your publicly available methods in your `Api\Resource`s