Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-12

New documentation

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael A. Hess
to Shane Miller: Questions: How often is that going to be updated? Are the comments supposed to go just…
Shane Miller wrote
How often is that going to be updated?

I'm going to setup a script and cron job so that it does a checkout and then builds the docs everynight. I'll start that sometime this week.

Are the comments supposed to go just previous to the property/method or after?

It is the comment line just before the property/method

Here is the explanation from the Pasdoc site.

+++++++++++++++++++++++++++++++++++++++++++

const
  { maximum number of integers in an array of type @link(TIntArray) }
  MAX_INTS = 1024;
type
  { an array of integer value, size determined by @link(MAX_INTS) }
  TIntArray = Array[0..MAX_INTS-1] of Integer;
{ Initializes all values in a @link(TIntArray) variable to zero. }
procedure ClearIntArray(var A: TIntArray);

You get the idea... Any @link tag will become a hyperlink in HTML

+++++++++++++++++++++++++++++++++++++++++++

You would use the link in your documentation if you wanted to point the users attention to something related to the procedure. In the above example the ClearIntArray is passed a variable of type TIntArray. If you want to make it easier for the user reading the document to find the reference to TIntArray you place the phrase @link(TIntArray) and it will place the word TIntArray in the documentation with a hyperlink to the actual html content for that item.

The comment doesn't have to be on one line as shown above. It can be on several lines.

{ something something something
more more more
last last last }

One more thing to try and fix. If you see an email address someplace in a comment such as

{This thingamabob was producted by Michael A. Hess }

make the @ sign a double @@

mhess@@miraclec.com

This acts as an escape and it doesn't try to treat it as a @link indicated above. The last time I talked to Marco he said that this still wasn't working but I haven't tested it.

Marco are you still on the list? Can you comment on this?

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess

Greetings,

I have built new documentation files for Lazarus. The documentation includes the LCL, Designer, mwedit, and the main IDE code.

It isn't pretty since not much in the way of comments have been added to the code and some of what is there isn't appropriate but we will get there.

It is available from the web site.

http://www.lazarus.freepascal.org/lcl_doc/allclass.html

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Shane Miller

Questions:

How often is that going to be updated?

Are the comments supposed to go just previous to the property/method or after?

Shane

Earlier message 31 lines
-----Original Message----- From: Michael A. Hess To: Lazarus-List Date: Saturday, December 30, 2000 8:42 PM Subject: [lazarus] New documentation >Greetings, > >I have built new documentation files for Lazarus. The documentation >includes the LCL, Designer, mwedit, and the main IDE code. > >It isn't pretty since not much in the way of comments have been added to >the code and some of what is there isn't appropriate but we will get >there. > >It is available from the web site. > > http://www.lazarus.freepascal.org/lcl_doc/allclass.html > >-- >==== Programming my first best destiny! ==== > >Michael A. Hess Miracle Concepts, Inc. > http://www.miraclec.com > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email