Global tool to create simple markdown documentation using reflection and XML comments that are extracted from the source code by the compiler.
XML documentation comments on MSDN
dotnet tool install -g loxsmoke.mddox
dotnet tool uninstall -g loxsmoke.mddox
mddox
Usage: mddox <assembly> \[optional-paramters\]
<assembly> - The name of the assembly to document.
Optional parameters:
--output <output_md> The name of the markdown output file.
--format <format> The markdown file format. Valid values: github, bitbucket
--recursive Step into referenced assemblies recursively.
--recursive <assembly> Step recursivelly only into specified assembly or assemblies.
--ignore-methods Do not generate documentation for methods and constructors.
--ignore-attribute <name>
Do not generate documentation for properties with specified custom attribute.
For example JsonIgnoreAttribute
--type <name> Document specified only this and referenced types.
Documenting all types of one assembly
mddox MyAssembly.dll
Documenting only fields and properties of all types in assembly
mddox MyAssembly.dll --ignore-methods
Documenting types that do not have specified custom attributes
mddox MyAssembly.dll --ignore-attribute JsonIgnoreAttribute --ignore-attribute XmlIgnore
Document one type and all referenced types from different assemblies
mddox MyAssembly.dll --type ClassToDocument --recursive ReferencedAssembly1.dll --recursive ReferencedAssembly2.dll