chitakasa
chitakasa

Reputation: 243

WebIDL: Generating HTML5 documentation

I am looking to generate a specification (not w3c) of Javascript APIs. If I create webidl for the Javascript APIs, is there a tool that can generate HTML or PDF document out of it? I looked at Respec.js. However that is specific to W3C. Is there any other tool out there, which can take WebIDL and generate a documentation for Javascript?

Upvotes: 2

Views: 569

Answers (1)

Saul
Saul

Reputation: 18041

WebIDL to PDF converters are a rare breed but it certainly is possible to write one.

Biggest part of it would probably be the parser. Fortunately there are some implementations of it:

The only thing missing is PDF output.

Upvotes: 2

Related Questions