Skip to main content

How to Generate .NET API Documentation

Roslynator CLI allows you to generate documentation for a .NET library.

Documentation can be published to the following hosts:

Generate Documentation Files​

Run the following command to generate documentation:

roslynator generate-doc

Usage​

generate-doc-files.ps1
roslynator generate-doc MY_SOLUTION.sln `
--properties Configuration=Release `
-o "build/ref" `
--host docusaurus `
--heading ".NET API Reference" `
--group-by-common-namespace `
--ignored-common-parts content `
--max-derived-types 10 `
--root-file-path "build/ref.md"

See the actual script.