Skip to content
SPECIFICTION
Get listed

DocFX vs rustdoc

DocFX

dotnet.github.io

rustdoc

doc.rust-lang.org

Side by side

FigureDocFXrustdoc
Price fromFree—
Free planYes—
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYes—
Self-hostedYes—
Plans published10
Spec score · Documentation Generators8.2 (#6)7.4 (#23)
PurposeDocFX builds technical documentation sites from .NET assemblies, XML code comments, REST API Swagger files, and Markdown.rustdoc generates documentation for Rust projects from a crate root or Markdown file, producing HTML, CSS, and JavaScript.
SupportThe DocFX project is listed as supported by the .NET Foundation.The Rust site directs users to the documentation, Rust Forge contributor documentation, and the Users Forum for help.

Plans

DocFX

  • DocFXFree

DocFX pricing →

rustdoc

No plans published.

rustdoc pricing →

In their own words

DocFX

DocFX is a free static site generator for technical documentation. It builds documentation from .NET assemblies, XML code comments, REST API Swagger files and Markdown, and can produce rendered HTML pages, JSON models or PDFs. Static HTML output is placed in the `_site` folder for publication to hosting services such as GitHub Pages. DocFX can also be used as a NuGet library through the `Docfx.App` package and .NET APIs. It parses CommonMark-compliant Markdown with Markdig and supports additional extensions. Built-in templates include a modern option with dark mode and customization settings; users can also customize templates with CSS, JavaScript, Mustache templates and metadata. DocFX can generate git links for GitHub, GitLab, Azure Pipelines, AppVeyor, TeamCity and Jenkins. It requires .NET SDK 8.0 or higher. Node.js v20 or higher is optional generally, but required to create PDFs. Native reference documentation generation covers .NET and REST APIs; other languages need a custom API docs converter. PlantUML diagrams use a remote server by default, with local rendering available as a setting.

Visit dotnet.github.io

rustdoc

rustdoc has no write-up on Specifiction yet; its figures are above.

Visit doc.rust-lang.org