outmoded / lout

API documentation generator
Other
276 stars 49 forks source link

Example of how to register? #44

Closed seigel closed 10 years ago

seigel commented 10 years ago

Just wondering if one could provide a link or write an example way to hook this up with hapi.

Marsup commented 10 years ago

This is registered the same way other hapi plugins are. You can find a very short example in https://github.com/spumko/lout/blob/master/bin/test-server, you would just have to replace ../ by lout. If you are not familiar with hapi plugins I'll let you read the documentation about it.

Marsup commented 10 years ago

I'll add a part in the readme to make it clear.