views:

95

answers:

3

Hi,

I'm going to be generating API docs using Sandcastle - I couldn't find any guides on how to do this on there website. Does anyone have any quickstart guides they would recommend?

+7  A: 

I'd suggest using SHFB (if you can), as it makes it really easier. SHFB comes with documentation, but you will be able to use it's common features without any tutorial.

Ravadre
A: 

Maybe you could check the (codeplex) site of SandCastle. But my experience is that it is best just to play around with it. First thing you have to do is configure your application to generate your comments into an XML file (and using XML comments in your code). This is a setting in your project.

Next thing you can do is load your assembly with the associated XML into Sandcastle and play with the settings (in most cases the default settings are good enough). Most settings are self-documenting or are obvious by looking at the name.

Good luck playing with it!

Gertjan
+1  A: 

I am also a strong support of SHFB, so much so that in September 2010 I wrote a sizable article on Sandcastle and SHFB entitled Taming Sandcastle: A .NET Programmer's Guide to Documenting Your Code wherein I describe usage tips and a lot of the potential pitfalls one is likely to encounter. In October 2010 I followed that up with a one-page wall chart that summarizes the XML documentation comment lexicon for SHFB.

From my research for the article, here is a complete list of other useful resources:

msorens