Skip to content
D

DocFX

A documentation generation tool for API reference and Markdown files!

Free

#6569in Developer Tools
0In stores

Description

docfx is a documentation generation tool that builds a documentation website from .NET assemblies, XML code comments, REST API Swagger files…

Highlights

  • Builds docs from .NET assemblies, XML comments and Markdown
  • Local preview server with docfx --serve
  • Static HTML output for any static host
  • GitHub Pages publishing workflow
  • Optional PDF output with Node.js

Ratings & Reviews

No ratings yet

Be the first to rate DocFX.

People also visit

D

Docma

A powerful tool to easily generate beautiful HTML documentation from JavaScript

Developer Tools
Launch
D

Docfx

Static site generator for .NET API documentation

Developer Tools
Launch
X

xyd

Create powerful, interactive documentation

Developer Tools
Launch
D

Docyo

Generate and host your documentation

Developer Tools
Launch
Z

Znai

Build functional, maintainable, beautiful User Guides

Developer Tools
Launch
D

DocPIlot

Beautiful, interactive API docs right from your codebase!

Developer Tools
Launch

DocFX FAQ

What is docfx?

docfx is a tool that generates documentation sites from .NET assemblies, XML comments, REST API Swagger files and Markdown.

How do I install it?

Install the .NET SDK 8.0 or higher, then run dotnet tool update -g docfx.

How do I preview a site?

Run docfx docfx.json --serve and open http://localhost:8080. Run docfx docfx.json again to rebuild after changes.

Where can I publish it?

docfx writes static HTML to the _site folder, which can be hosted on any static site server. The quick start includes a GitHub Actions example for GitHub Pages.

Does it need Node.js?

Only for creating PDF files, which needs Node.js 20 or higher.

What are the best DocFX alternatives?

Popular alternatives to DocFX include Docma, Docfx and xyd. See all DocFX alternatives

Developer Stuff

Badges