What do you use for documentation?
Page 1 of 111 Replies - 2967 Views - Last Post: 17 March 2012 - 07:15 AM
#1
What do you use for documentation?
Posted 14 March 2012 - 11:48 AM
Replies To: What do you use for documentation?
#2
Re: What do you use for documentation?
Posted 14 March 2012 - 11:49 AM
#4
Re: What do you use for documentation?
Posted 14 March 2012 - 12:41 PM
Extensive use of in-code comments. Decently named objects/methods/variables/properties.
private ResultsObject SomeMethod(string blah)
{
// Step 1. We do blah blah blah
// Step 2. We invert those results
// Step 3. We filter those results
// Step 4. We return results as "halb (3 times)"
#region Step 1
{
}
#endregion Step 1
}
XML comments on every method and property so intellisense works for everyone. (/// comments at each method)
/// <summary>No GUI code here. This is an object to work the camera device, not directly interact with the user
///
/// </summary>
public class CameraGoPro : CameraBase
{
/// <summary>NO EFFECT: Inherited from CameraBase, but no such property in THIS camera model.
/// </summary>
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XmlIgnore]
public new string ISO
{
/// <summary>The CurrentUser's AppData directory.
/// We always have security permissions for this and is the preferred location for storing Application specific data
/// </summary>
public static string AppData
{
and txt documents in each project or subfolder.
I'm not sure why you would use Notepad and documents elsewhere, when you can create a textfile IN the project and use VS to write it: In the very folder it applies to. There is no chance of documenation getting separated from the project if you use the tools built in to the IDE. If I write a custom control for example, there is a text document in the folder that describes its theory of operation as well as a ChangeLog.txt file.
This post has been edited by tlhIn`toq: 14 March 2012 - 12:42 PM
#5
Re: What do you use for documentation?
Posted 14 March 2012 - 12:46 PM
#6
Re: What do you use for documentation?
Posted 14 March 2012 - 04:37 PM
#7
Re: What do you use for documentation?
Posted 14 March 2012 - 04:47 PM
All the documents start off in MS ACCESS. Once the document gets approved it shows up in share point with a nice digital signature.
I don't like it, it does not allow for multi users. I constantly run into issues where I can't edit a doc because some one else left it open.
Half the time you don't have the right permissions to make changes.
And the MS ACCESS Gods are old and always on vacation.
#8
Re: What do you use for documentation?
Posted 15 March 2012 - 12:18 PM
#9
Re: What do you use for documentation?
Posted 15 March 2012 - 10:45 PM
For design documents, an authoring tool like Oxygen is handy. Oxygen is a DocBook editor, so it's easy to generate html and PDF from the same document - this keeps your documentation versions constant. Also, it's plain text, so it plays nice with svn. (keep the docs in the repo, for the same reason you eep the code in the repo). Oxygen is not a free product, either as speech or beer, but it's reasonably cheap and well supported. I understand that eclipse can be used as a DocBook editor as well, but I haven't done anything with that.
The down side of DocBook is that it takes some work to make it look good. If that's important, use something else or get Bob Stayton's book on DocBook XSL and be ready to spend some time at it.
For user-facing documentation, a DocBook tool is again handy, but you could use something like OpenOffice if you'd rather.
For developer-facing docs, just make your commits self-documenting. Always work from a bug list, and tie every commit to a bug and log the revision that fixes the bug in the bug report. If I'm trying to work out why a piece of code was added, it really helps to see the bug that motivated it. Make your changes small and incremental, and the commit history will tell the story better than a lot of text.
calvinthedestroyer, on 14 March 2012 - 06:47 PM, said:
That's just horrible. I'm sorry to hear it.
#10
Re: What do you use for documentation?
Posted 16 March 2012 - 08:51 PM
#11
Re: What do you use for documentation?
Posted 16 March 2012 - 11:21 PM
#12
Re: What do you use for documentation?
Posted 17 March 2012 - 07:15 AM
|
|

New Topic/Question
Reply



MultiQuote










|