comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Documentation time
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Documentation time [message #64533] Tue, 06 January 2009 18:20 Go to next message
Robbie is currently offline  Robbie
Messages: 165
Registered: February 2006
Senior Member
I'm in the process of documenting a fairly large IDL code base (47K
lines of code in 272 files).
The code base might seem excessive, but I assure you it is nowhere
near as large as iTools (152K in 508 files).

I've started migrating to IDLdoc 3.0 and the rst style of
documentation. I'm using the IDL workbench and the code is managed
using CVS. I have only documented a small portion of the existing code
using IDLdoc 2.0

Is there a way to automatically migrate from the old IDLdoc 2.0 format
to the new rst format?

Does it make sense to CVS commit the documentation, or should I add it
to .cvsignore or just keep it out of the IDL_PATH to be sure?

What value should I put on API documentation? I think that I shouldn't
spend more than 50% of my time on API documentation as opposed to
other more helpful methods of documentation.

Around 30-50% of my code is redundant code (i.e. deprecated). Should I
remove them completely from the CVS tree? Wouldn't it just be
confusing to keep it in the source tree?
I'm keen to take a snapshot now and start to manage the non-deprecated
code as a completely new project.

Thanks

Robbie
Re: Documentation time [message #64617 is a reply to message #64533] Wed, 07 January 2009 06:32 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jan 6, 7:20 pm, Robbie <ret...@iinet.net.au> wrote:
> I'm in the process of documenting a fairly large IDL code base (47K
> lines of code in 272 files).
> The code base might seem excessive, but I assure you it is nowhere
> near as large as iTools (152K in 508 files).
>
> I've started migrating to IDLdoc 3.0 and the rst style of
> documentation. I'm using the IDL workbench and the code is managed
> using CVS. I have only documented a small portion of the existing code
> using IDLdoc 2.0
>
> Is there a way to automatically migrate from the old IDLdoc 2.0 format
> to the new rst format?

No, but you can do the migration piecemeal. Don't change your IDLDOC
command and put

docformat = 'rst'

as the first line of the rst format files. Then old files will use the
IDLdoc style and new files will use the rst format. Migrate over files
as necessary by adding the docformat line.

> Does it make sense to CVS commit the documentation, or should I add it
> to .cvsignore or just keep it out of the IDL_PATH to be sure?

I don't like to add generated file to my source control. I would put
it in .cvsignore and keep it out of the IDL_PATH.

> What value should I put on API documentation? I think that I shouldn't
> spend more than 50% of my time on API documentation as opposed to
> other more helpful methods of documentation.
>
> Around 30-50% of my code is redundant code (i.e. deprecated). Should I
> remove them completely from the CVS tree? Wouldn't it just be
> confusing to keep it in the source tree?
> I'm keen to take a snapshot now and start to manage the non-deprecated
> code as a completely new project.

I would remove it. That's why we have source control.

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Associate Research Scientist
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: creating dynamic array
Next Topic: Re: creating dynamic array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:07:01 PDT 2025

Total time taken to generate the page: 3.92047 seconds