# DocFX

> Static site generator for .NET API documentation

Source: https://talira.ai/catalog/docfx-ghfyjykt
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / documentation / reference generators](https://talira.ai/categories/developer-tools/documentation/reference-generators), [languages / dotnet](https://talira.ai/categories/languages/dotnet)
- Licence: MIT[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Backed by: [.NET Foundation](https://talira.ai/orgs/dotnet-foundation.md)
- Funding: non-profit[^4]

DocFX builds a technical documentation site from Markdown and from .NET assemblies and their XML code comments and REST API Swagger files, rendering them as HTML pages, a JSON model or PDF files. You install it as a .NET global tool, create a docset with docfx init, preview it locally with --serve, and publish the static _site folder to any static host, such as GitHub Pages. Microsoft Learn stopped using it and supporting it in November 2022, and it continues as a community-driven .NET Foundation project.

## Links

- Website: https://dotnet.github.io/docfx/
- GitHub: https://github.com/dotnet/docfx
- Docs: https://dotnet.github.io/docfx/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/docfx>[^1]

## Problems it solves

- generate API reference docs for my .NET library from its XML comments
- build a documentation site for a C# project
- publish .NET API docs to GitHub Pages

## Features

- API reference docs from .NET assemblies and XML comments
- REST API reference from Swagger files
- Markdown conceptual docs and landing pages
- HTML, JSON model and PDF output
- local preview server
- static output for GitHub Pages and other hosts

## Limitations

- Microsoft no longer supports it: since November 2022 it's a community-driven .NET Foundation project[^2]

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 1.00, adoption 0.73, momentum 0.46, community 0.98, backing 0.55, extensibility 0.00.

- last commit 3 days ago
- 78 commits in the last 90 days
- latest release v2.81.0 2 months ago
- 4.5k GitHub stars
- 283 contributors
- 3 Homebrew installs in 30 days
- backed by .NET Foundation
- funding: non-profit

## Alternatives

- [TypeDoc](https://talira.ai/catalog/typedoc-mjx3hjv8.md): Documentation generator for TypeScript projects
- [Doxygen](https://talira.ai/catalog/doxygen-jhchwqz6.md): Code documentation. Automated. Free, open source, cross-platform.
- [JSDoc](https://talira.ai/catalog/jsdoc-sb33nq9y.md): API documentation generator for JavaScript from comments in the code
- [Dokka](https://talira.ai/catalog/dokka-708y2m0q.md): API documentation engine for Kotlin
- [phpDocumentor](https://talira.ai/catalog/phpdocumentor-2qx3zg98.md): API documentation generator for PHP
- [dartdoc](https://talira.ai/catalog/dartdoc-ha5ztyd9.md): API documentation generator for Dart, behind dart doc

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 27 Nov 2026)
[^2]: https://github.com/dotnet/docfx/blob/main/README.md (checked 27 Nov 2026)
[^3]: https://github.com/dotnet/docfx/blob/main/LICENSE (checked 27 Nov 2026)
[^4]: https://dotnetfoundation.org/about (checked 20 Nov 2026)
