There's an internal team at my job that's trying to get people to use a framework they built. The problem is there's no documentation; this despite the code being well commented in what appears to be a structured fashion. An example looks like this:<p>/// <summary><p>/// Waits for the Page's DOM to fully.....<p>/// </summary><p>/// <param name="classInstance">The PageObject instance to be populated.</param><p>does anyone recognize this format and, even better, a tool used to turn this into usable HTML documentation?
Those comments auto-build an XML output; it's a built-in feature of the C# compiler. [1]<p>There are a number of XSLT stylesheets and more complicated tools around, many from relatively ancient times in the .NET world, to generate prettier documentation from those comments. NDoc [2] is ancient but still presumably works. I last used SandCastle, whose website proclaims it shutdown and forwards to fork SHFB [3], and some of whose guts inspired DocFX [4].<p>As another comment points out it appears that DocFX is the latest toolset Microsoft themselves are using (it's one of a couple of build tools for the new mostly all open source docs.microsoft.com site).<p>[1] <a href="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments" rel="nofollow">https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...</a><p>[2] <a href="http://ndoc.sourceforge.net/" rel="nofollow">http://ndoc.sourceforge.net/</a><p>[3] <a href="http://github.com/EWSoftware/SHFB" rel="nofollow">http://github.com/EWSoftware/SHFB</a><p>[4] <a href="https://dotnet.github.io/docfx/" rel="nofollow">https://dotnet.github.io/docfx/</a>
This is a Visual Studio feature. <a href="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/recommended-tags-for-documentation-comments" rel="nofollow">https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...</a>
<a href="https://dotnet.github.io/docfx/" rel="nofollow">https://dotnet.github.io/docfx/</a><p>I believe this is used to generate some of the official Microsoft documentation.<p>We use it on our team -- it's pretty basic, but allows Markdown formatted content and ingests the triple slash comments.<p>The biggest downside is that it is extremely slow.
Looks like maybe:<p><a href="http://www.stack.nl/~dimitri/doxygen/manual/xmlcmds.html" rel="nofollow">http://www.stack.nl/~dimitri/doxygen/manual/xmlcmds.html</a>
In Visual Studio, if you're distributing it via NuGet package you can send the xml doc along with the code and consume it via Intellisense (as you type it), similar to what happens when you use the .NET framework itself.<p>Right click the project, "Properties", "Build", enable "XML documentation file". When creating the NuGet package make sure the xml is in the same folder as the dll.