View unanswered posts | View active topics



Reply to topic  [ 2 posts ] 
Integrating Adobe ASDoc in 5 minutes 
Author Message
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
This information is out of date.
There is now a common GUI for ASDocs and AS2API in FlashDevelop.
Go: Tools > Flash Tools > Documentation Generator...



Here's all you need:

- unzip ASDoc in your framework directory,

- launch FlashDevelop,
- open the program settings (F9),
- create a new setting entry: click "New..",
- name it "FlashDevelop.UserDefined.@ASDOC",
- set its the value to path\to\bin\asdoc.exe,
- now add a button (remove linebreaks in tag!) in <FD>/settings/ToolBar.xml:
Code:
<button label="Generate ASDOC"
        click="RunProcessCaptured" image="25"
        tag="@ASDOC;-doc-sources @QUOTE@PROJECTDIR/src@QUOTE
             -main-title @QUOTE@PROJECTNAME@QUOTE
             -output @QUOTE@PROJECTDIR/doc@QUOTE" />


Exit and relaunch FlashDevelop, you know have a button to generate your project documentation at your fingertips :)

PS: the command expects your source to be in <projectroot>/src, and it generates the docs in <projectroot>/doc.


Last edited by Philippe on Wed Dec 19, 2007 7:31 pm, edited 1 time in total.



Tue Aug 29, 2006 9:53 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Post 
FlashDevelop 3 Update

- launch FlashDevelop,
- open the program settings (F10),
- in the State > Custom Arguments property, create a new key/value entry:
- name it "ASDoc",
- set its value to path\to\bin\asdoc.exe,
- now add a button (remove linebreaks in tag!) in /Settings/ToolBar.xml (see in Tools > Application Files):
Code:
<button label="Generate ASDOC" click="RunProcessCaptured" image="95"
        tag="$(ASDoc);-doc-sources &quot;$(ProjectDir)/src&quot;
             -main-title &quot;$(ProjectName)&quot;
             -output &quot;$(ProjectDir)/doc&quot;" />

- restart FlashDevelop


Fri Jul 27, 2007 10:53 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.