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: 4 months ago
JSON representation
Tool to generate markdown from C# XML documentation
- Host: GitHub
- URL: https://github.com/charlesdevandiere/xmldoc2md
- Owner: charlesdevandiere
- License: mit
- Created: 2019-11-18T11:57:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-01T11:42:35.000Z (10 months ago)
- Last Synced: 2025-10-05T22:09:26.925Z (9 months ago)
- Topics: documentation, documentation-generator, dotnet, markdown
- Language: C#
- Homepage: https://charlesdevandiere.github.io/xmldoc2md/
- Size: 69.3 KB
- Stars: 56
- Watchers: 2
- Forks: 19
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XMLDoc2Markdown
Tool to generate markdown from C# XML documentation.
[](https://dev.azure.com/charlesdevandiere/charlesdevandiere/_build/latest?definitionId=2&branchName=master)
[](https://www.nuget.org/packages/XMLDoc2Markdown)
[](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/).