Skip to content

altinburak/mddox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet version NuGet

mddox

Global tool to create simple markdown documentation using reflection and XML comments that are extracted from the source code by the compiler.

Sample documentation

XML documentation comments on MSDN

Installation

dotnet tool install -g loxsmoke.mddox

Uninstallation

dotnet tool uninstall -g loxsmoke.mddox

Usage

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%