To include asdocs in a (Flex) swc library, the following is required:

- Generate asdocs adding the following arguments (via Ant):
        keep-xml = true
        skip-xsl = true

- Create the swc as usual

- Add the generated asdocs to the swc minus 2 files that aren't needed (ASDoc_Config.xml and overviews.xml).

I've posted an ANT build that I use for one of my libs:
http://apaste.info/YgG

There's an article with some more info and another Ant sample build here:
http://www.andygup.net/using-ant-to-build-swcs-with-asdoc-comments-included-on-windows-7/

Hope this is what you were looking for :)

regards,
Peter


On 14/06/2015 8:16, Alex Harui wrote:


On 6/13/15, 3:15 PM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote:

Hi,

I was just curious if we can include the source for asdoc in the JS swc.
IMHO it's pretty important dealing with the hundreds of classes and 1000's
of fields and members a lot have some docs and most all have at least 1
@see tag that directs you to the w3c or whatever documentation.

Not to mention @param and @return have pure JSType I am emitting that
shows
callback API on passed callback functions.

I have no idea how to include this stuff.

Me either.  I think there is something called a fat swc?

-Alex

Reply via email to