PieroDeTomi.DotNetMd 1.4.1

dotnet tool install --global PieroDeTomi.DotNetMd --version 1.4.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local PieroDeTomi.DotNetMd --version 1.4.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=PieroDeTomi.DotNetMd&version=1.4.1
nuke :add-package PieroDeTomi.DotNetMd --version 1.4.1

Summary

DotNetMd is a simple tool for generating Markdown docs from .NET assemblies.

This tool works both by reading assembly information through reflection and by reading XML documentation files generated by the compiler.

The idea behind this tool is to provide a simple way to generate documentation for .NET assemblies in a format that can be easily shared and read by developers... with a friendly eye to my favorite documentation tool of choice: Docusaurus 😃

Installation

DotNetMd is available on NuGet Package as a dotnet tool.

It can be installed as a global tool by running the following command:

dotnet tool install --global PieroDeTomi.DotNetMd

Usage

Once installed, you can run the tool with the following command:

dotnetmd --config <path-to-config-file>

where <path-to-config-file> must be replaced with the path to the configuration file (see below for more information).

Configuration

The configuration is a JSON file that must follow this structure:

Property Name Type Required Description
assemblies string[] Required An array of paths to the assemblies to be documented
outputPath string Optional<br /><br />Default: ".\docs" The path to the output directory where the Markdown files will be generated
outputStyle "default" \| "microsoft" Optional<br /><br />Default: "default" The "theme" that will be used to generate the documentation.<br /><br />"default" will use a default/simpler documentation style, while "microsoft" will use an output style similar to the one used by the Microsoft Docs
shouldCreateNamespaceFolders boolean Optional<br /><br />Default: true If true, the tool will create a folder for each namespace in the output directory, and will place the generated Markdown files in the corresponding folder.<br /><br />If false, all the files will be placed in the root of the output directory
isDocusaurusProject boolean Optional<br /><br />Default: false If true, the tool will include Docusaurus front-matter in the Markdown files and will generate _category_.json files inside the folders, in order to make the integration in a Docusaurus project some kind of "copy/paste" process.<br /><br />If false, nothing will change in the generation process
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.4.1 107 4/4/2024
1.3.1 125 4/3/2024
1.2.1 89 4/3/2024
1.1.1 94 4/2/2024
1.1.0 92 4/2/2024
1.0.0 82 4/2/2024