Closed onsails closed 11 years ago
That's a good point, the rake generation task only exists in wd_sinatra
and that's why you are saying the error about missing implementation block. The task could probably be ported over to WD itself and require a source path for the API descriptions and an output path for the documentation.
I don't quite have time for that at the moment, but patches are welcome if you want that done ASAP.
$ weasel_diesel generate_doc <path to ruby source files>
Hello,
We love how it generates docs but we prefer to implement APIs on the other software stack than ruby / rails. Is there a way of using Weasel-Diesel for api documentation but not for implementation? If I don't describe
service.implementation
block a commandrake doc:services
exits with an errorDSL is missing the implementation block
.