https://github.com/concretecms/documentation_generator
concrete5 composer package for generating documentation based on configuration
https://github.com/concretecms/documentation_generator
Last synced: about 1 year ago
JSON representation
concrete5 composer package for generating documentation based on configuration
- Host: GitHub
- URL: https://github.com/concretecms/documentation_generator
- Owner: concretecms
- License: mit
- Created: 2015-08-20T04:53:35.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-05-19T01:18:26.000Z (about 4 years ago)
- Last Synced: 2025-06-06T18:52:59.422Z (about 1 year ago)
- Language: PHP
- Size: 54.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://github.com/concrete5/documentation_generator/blob/master/LICENSE.md)
[](https://packagist.org/packages/concrete5/documentation_generator)
[](https://packagist.org/packages/concrete5/documentation_generator)
[](http://scrutinizer-ci.com/g/concrete5/documentation_generator/)
# concrete5 documentation generator
This composer package adds commands to concrete5's command line utility that
generate documentation based on the core configuration values.
## Installation
### Using composer
1. Require this composer package `"concrete/documentation_generator"`
2. Add the base service provider to your `application/config/app.php`
```php
array(
'documentation_generator' => "\\Concrete\\DocumentationGenerator\\ServiceProvider"
)
);
```
### Using concrete5 package system
1. Run composer install
2. Move the clone or symbolically link to your packages directory
3. Navigate to the install page in your concrete5 dashboard and hit install
## Usage
From the root of your concrete5 directory, run `$ ./concrete/bin/concrete5 c5:docs:generate > docs.md`
## Generators
Handle | Class | Command | Description
--- | --- | --- | ---
`asset_list` | `\Concrete\DocumentationGenerator\Generator\Asset\AssetListGenerator` | c5:docs:asset_list:generate | Generates a list of core assets and asset groups
`config_group` | `\Concrete\DocumentationGenerator\Generator\ConfigGroup\ConfigGroupListGenerator` | c5:docs:config_group:generate | Generates a list of core configuration groups with a table of the configuration items they contain
`service_provider_list` | `\Concrete\DocumentationGenerator\Generator\ServiceProvider\ServiceProviderListGenerator` | c5:docs:service_provider_list:generate | Generates a list of core service providers