raml-leanlabsio/raml2html

There is no license information available for the latest version (0.0.6) of this package.

PHP RAML to HTML documentation generator

0.0.6 2016-01-30 14:50 UTC

This package is not auto-updated.

Last update: 2024-12-21 19:16:11 UTC


README

More documentation: http://raml2html.leanlabs.io/

Examples generated documentation:

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