<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I've had a chance to be playing with jsdoc and google closure compiler a bit lately and I would say that it is not very easy to script the conversion in a meaningful way. There are a few 'quick' things that can be done to get jsdoc to produce some documentation such as adding @class, @lends, @constructs and @extends in specific places that could be automated. Dealing with parameters is more complex and will probably have to be done by hand, especially getting the type information nailed that will make the warnings from the compiler much more interesting. Also, naturaldocs does 'intelligent' things with longer descriptions but jsdoc requires that html markup be added to create headers, paragraphs, lists etc. Again, something that might be scriptable but probably needs quite a bit of hands on to get it to work smoothly<div><br></div><div>Cheers</div><div><br></div><div>Paul<br><div><br></div><div><br><div><div>On 2011-08-09, at 3:07 PM, Matt Priour wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I think the similarity between Natural Docs and JSDoc that the majority of<br>conversion could be done via script.<br>There are more documentation options and IDE's that understand JSDoc than<br>Natural Docs. So I think it certainly couldn't hurt.<br><br>However, I agree with Christopher that the real need is walkthrough style<br>tutorials and possibly even a "code playground" similar to what Google APIs<br>has. Additionally, regularly highlighting uses of OpenLayers in the wild<br>would help people understand what is possible with this great library. The<br>issue is and always has been that such documentation and community<br>cheerleading takes time and that is a very expensive commodity for most of<br>the active OpenLayers devs and power users.<br><br>Matt Priour<br>Kestrel Computer Consulting<br><br>-----<br>Matt Priour<br>Kestrel Computer Consulting<br>--<br>View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-API-doc-tp6667194p6669324.html">http://osgeo-org.1803224.n2.nabble.com/OpenLayers-API-doc-tp6667194p6669324.html</a><br>Sent from the OpenLayers Dev mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Bitstream Vera Sans'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" face="Monaco" size="2"><br class="Apple-interchange-newline">__________________________________________</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" face="Monaco" size="2"> Paul Spencer</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> Chief Technology Officer</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> DM Solutions Group Inc</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> <a href="http://research.dmsolutions.ca/">http://research.dmsolutions.ca/</a></font></div></span></span>
</div>
<br></div></div></body></html>