graze and DocFX are both open source static site generators. graze is written in .Net and DocFX is written in C#.
| Property | graze | DocFX |
|---|---|---|
| Language | .Net | C# |
| Templates | Razor | Mustache, Liquid |
| License | MIT | MIT |
Graze is a static site generator. It takes a template and a configuration file and generates a static web site. The generated site is pure HTML / CSS / JavaScript and can be hosted on any web server. The Graze templates are created using the Razor Syntax.
DocFX is an API documentation generator for .NET, and currently it supports C# and VB. It generates API reference documentation from triple-slash comments in your source code. It also allows you to use Markdown files to create additional topics such as tutorials and how-tos, and to customize the generated reference documentation. DocFX builds a static HTML website from your source code and Markdown files, which can be easily hosted on any web servers (for example, github.io). Also, DocFX provides you the flexibility to customize the layout and style of your website through templates. If you are interested in creating your own website with your own styles, you can follow how to create custom template to create custom templates.
DocFX also has the following cool features:
Install-Package docfx.consoledocfx extension in vscode to preview the content in real-time.