Recent

Author Topic: Doxygen  (Read 5718 times)

PX

  • New Member
  • *
  • Posts: 14
Doxygen
« on: September 21, 2007, 10:57:24 am »
Hello!

I'm developing my first open source app in lazarus,
and I've heard that you should use doxygen to document it, which of what I understand makes HTML files like:

which takes
Code: [Select]

program HWorld;
procedure HelloWorld()
(**
* prints Hello world to the user
**)
begin
write('Hello');
end;

function GooByeWorld: integer()
(**
* kills the program
**)
begin
exit();
end.
//Sorry my pascal is rusty

and makes

procedure HelloWorld - prints Hello world to the user
function GooByeWorld: integer - kills the program


However I understand theres a LazDoc program that does the same, but I cant seem to find any info on how to use it from Lazarus, could anyone explain to me how its used (or where I can find a FAQ that actually explains it)

Thanks :)

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: Doxygen
« Reply #1 on: September 21, 2007, 03:21:37 pm »

PX

  • New Member
  • *
  • Posts: 14
RE: Doxygen
« Reply #2 on: September 21, 2007, 03:50:18 pm »
I read that and went to view -> lazdoc and then it asks me for title and description but not for a specific function?

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: Doxygen
« Reply #3 on: September 21, 2007, 04:10:42 pm »
Do you want a specific function?

PX

  • New Member
  • *
  • Posts: 14
RE: Doxygen
« Reply #4 on: September 21, 2007, 04:59:18 pm »
I want to commen each function like: http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarvb4/html/msdn_shelexec.asp

Well not as advanced, but like list all functions, explain what they do and show their parameters

 

TinyPortal © 2005-2018