Skip to content
SPECIFICTION
Get listed

DocFX vs Stoplight Elements

DocFX

dotnet.github.io

Stoplight Elements

stoplight.io

Side by side

FigureDocFXStoplight Elements
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYes—
macOSYes—
LinuxYes—
APIYes—
Self-hostedYesYes
Plans published11
Spec score · Documentation Generators8.2 (#6)7.4 (#25)
Spec score · Technical Documentation Software8.2 (#12)7.3 (#32)
Spec score · Technical Writing Platforms8.3 (#9)7.3 (#25)
Spec score · Knowledge base software7.7 (#102)7.4 (#118)
Free planYesYes
MarkdownDocFX parses CommonMark-compliant Markdown with Markdig and supports additional Markdown extensions.Stoplight-flavored Markdown supports tabs, callouts, and embedded JSON examples.

Plans

DocFX

  • DocFXFree

DocFX pricing →

Stoplight Elements

  • Stoplight ElementsFree

Stoplight Elements 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

Stoplight Elements

Stoplight Elements is a free, open-source set of embeddable web components for building interactive API documentation from OpenAPI documents. It adds customizable left navigation and a three-column layout, while an embedded console lets readers try requests and inspect responses within the documentation. Elements supports OpenAPI, including version 3.1, and JSON Schema. It provides code samples in Curl, Python, Ruby, and Java, and its Stoplight-flavored Markdown supports tabs, callouts, and embedded JSON examples. The components require no build steps and can be used with any framework or HTML project. Documentation can be hosted anywhere, including S3 or GitHub. Elements can point to an OpenAPI document or a Stoplight Workspace and can work with any OpenAPI editor. The listed plan costs nothing and includes OpenAPI 3.1 support, an interactive API console, embedding into an existing CMS, and hosting anywhere. Compared with Elements DevPortal, the product page does not list multiple API listings, mocking, Markdown articles, branch version selection, or search. Stoplight identifies SmartBear as its parent company.

Visit stoplight.io