I started using Sandcastle some time ago to generate a Documentation Website for one of our projects. It\'s working quite well but we\'ve always only written documentation f
Sandcastle also supports the ndoc-style namespace documentation, which allows you to stick the documentation in the source files:
Simply create a non-public class called NamespaceDoc in the namespace you want to document, and the xml doc comment for that class will be used for the namespace.
Adorn it with a [CompilerGenerated] attribute to prevent the class itself from showing up in the documentation.
Example:
namespace Some.Test
{
///
/// The namespace contains classes for ....
///
[System.Runtime.CompilerServices.CompilerGenerated]
class NamespaceDoc
{
}
}
The work item in SandCastle is located here.