Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/charlesdevandiere/xmldoc2md

Tool to generate markdown from C# XML documentation
https://github.com/charlesdevandiere/xmldoc2md

documentation documentation-generator dotnet markdown

Last synced: 8 days ago
JSON representation

Tool to generate markdown from C# XML documentation

Awesome Lists containing this project

README

        

# XMLDoc2Markdown

Tool to generate markdown from C# XML documentation.

[![Build Status](https://dev.azure.com/charlesdevandiere/charlesdevandiere/_apis/build/status/charlesdevandiere.xmldoc2md?branchName=master)](https://dev.azure.com/charlesdevandiere/charlesdevandiere/_build/latest?definitionId=2&branchName=master)
[![Nuget](https://img.shields.io/nuget/v/XMLDoc2Markdown.svg?color=blue&logo=nuget)](https://www.nuget.org/packages/XMLDoc2Markdown)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=charlesdevandiere_xmldoc2md&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=charlesdevandiere_xmldoc2md)

## How to use

### Install tool

```shell
dotnet tool install -g XMLDoc2Markdown
```

### Generate documentation

```shell
dotnet xmldoc2md [options]
```

| Argument | Description |
|---|---|
| `` | DLL source path |

| Option | Description |
|---|---|
| `-o, --output ` | Output directory |
| `--index-page-name ` | Name of the index page [default: index] |
| `--examples-path ` | Path to the code examples to insert in the documentation |
| `--github-pages` | Remove '.md' extension from links for GitHub Pages |
| `--gitlab-wiki` | Remove '.md' extension and './' prefix from links for gitlab wikis |
| `--back-button` | Add a back button on each page |
| `--member-accessibility-level ` | Minimum accessibility level of members to be documented. [default: protected] |
| `--structure ` | Documentation structure. [default: flat] |
| `--version` | Show version information |
| `-?, -h, --help` | Show help and usage information |

#### Example

```shell
dotnet xmldoc2md Sample.dll --output docs --github-pages --back-button
```

See complete documentation [here](https://charlesdevandiere.github.io/xmldoc2md/).