A library for generating API documentation from a RAML v0.8 definition.
npm install sashay
sashay [options] <source>
Use sashay --help
for CLI reference.
var sashay = require('sashay')
sashay(options)
-
destination
String
The build directory. Default
'./build/'
. -
output
Array
The output format. Must be
'json'
or'web'
. Default['json']
. -
quiet
Boolean
Set to
true
to suppress logs. Defaultfalse
. -
source
String
The source file. Must be valid RAML. Required.
-
watch
Boolean
Watches files for changes and rebuilds. In
'web'
mode, starts a preview server at http://127.0.0.1:8000/. Defaultfalse
. -
validate
Boolean
Whether to validate RAML schema or not.
Using the AWS CLI:
sashay index.raml -o web
aws s3 sync ./build/ s3://your-bucket/ \
--exclude '*' \
--include '*.js' \
--include '*.css' \
--include '*.html'
- Run
make version v=x.x.x
. - Create a pull request and merge.
See LICENSE.