raml-leanlabsio / raml2html
PHP RAML to HTML documentation generator
Installs: 822
Dependents: 0
Suggesters: 0
Security: 0
Stars: 32
Watchers: 8
Forks: 9
Open Issues: 16
Language:HTML
Requires
- cnam/php-raml-parser: 1.0.8
- symfony/console: ~2.6
- twig/twig: ~1.18
This package is not auto-updated.
Last update: 2024-11-09 18:32:54 UTC
README
More documentation: http://raml2html.leanlabs.io/
Examples generated documentation:
- Github api http://raml2html.leanlabs.io/github
Install
Via Source
$ git clone git@github.com:raml-leanlabsio/raml2html.git && cd raml2html && composer install --no-dev
Via binary
Download latest stable release raml2html.phar release
Usage
As binary
./raml2html generate -i example/raml/basic/api.raml -o index.html
As docker image
Assuming that command executed in project directory containing raml file
docker run \
-v `pwd`:/data \
leanlabs/raml-doc-builder \
generate --input=input.raml --output=doc.html
OPTIONS
- -i, --input input file base raml file with includes. (required)
- -o, --output output file "index.html" (required)
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
Dependencies
-
raml2html base in raml parser
-
official raml specification