General Interface is an open source project hosted by the Dojo Foundation

tibcoGI documentation

tibcoGI documentation

Postby giUser1 » Mon Jun 21, 2010 10:35 am

dhwang,

Is there a way to ticoGI source code documentation with a Ant task?

Suppose I creating files in 'addins' with GI standard, i.e.jsx3.Class.defineInterface OR jsx3.Class.defineClass.

Thanks,

giuser1
giUser1
2-Stars
2-Stars
 
Posts: 38
Joined: Mon Dec 14, 2009 11:08 am

Re: tibcoGI documentation

Postby dhwang » Thu Jun 24, 2010 11:32 pm

I assume you've already checked out the source

http://generalinterface.org/docs/display/OS/Project

The tool you wan to use is under the build directory. The build.xml shows how GI creates its own api docs in an Ant task

However there's a simpler way to create your own API doc. There's a command line tool you can use, see
the jsxdoc.sh shell script
http://www.generalinterface.org/fisheye ... /tools/bin

Code: Select all
@Option(name = "-i", metaVar = "PATH", usage = "the source file; a file or a directory", required = true)
@Option(name = "-x", metaVar = "SUFFIX", usage = "causes files with this suffix to be processed if using a source directory")
@Option(name = "-xml", usage = "whether to output XML; the default is HTML output")
@Option(name = "-o", metaVar = "PATH", usage = "the output directory", required = true)
@Option(name = "-a", metaVar = "ACCESS", usage = "the access level to document {PRIVATE, PACKAGE, PROTECTED, PUBLIC}", required = false)
@Option(name = "-title", metaVar = "TITLE", usage = "the documentation title", required = false)
@Option(name = "-copyright", metaVar = "COPYRIGHT", usage = "the documentation copyright notice", required = false)
User avatar
dhwang (Darren Hwang)
GI Committer
GI Committer
 
Posts: 220
Joined: Thu Jun 04, 2009 10:09 am
Location: Palo Alto

Re: tibcoGI documentation

Postby giUser1 » Fri Jun 25, 2010 8:49 am

Thanks a lot, I'll try both.
giUser1
2-Stars
2-Stars
 
Posts: 38
Joined: Mon Dec 14, 2009 11:08 am

Re: tibcoGI documentation

Postby giUser1 » Thu Jul 01, 2010 12:20 pm

dhwang,

I'm not clear how to use the command tools with those options?

Thanks,

giUser1
giUser1
2-Stars
2-Stars
 
Posts: 38
Joined: Mon Dec 14, 2009 11:08 am


Return to GI Developers

Who is online

Users browsing this forum: No registered users and 0 guests