Provide additional features on top of NelmioApiDocBundle
Features
- Resources annotation to provide list of markdown files
- New method pane (resources pane) to display markdown resources as HTML (using Parsedown library)
If you use composer, add ItkgApiDocBundle bundle as a dependency to the composer.json of your application
"require": {
"itkg/api-doc-bundle": "dev-master"
}
- Add Itkgapi-docBundle to your application kernel.
// app/AppKernel.php
<?php
// ...
public function registerBundles()
{
$bundles = array(
// ...
new Itkg\ApiDocBundle\ItkgApiDocBundle(),
);
}
- Activate bundle config in application's config.yml file by addng :
itkg_api_doc: ~
- Export Documentation API with resources as PDF