docfx

Static site generator for .NET API documentation.

MIT License

Downloads
38
Stars
4K
Committers
254

Bot releases are visible (Hide)

docfx - v2.61.0

Published by yufeih over 1 year ago

.NET 7.0 and C# 8, 9, 10, 11

This release adds support for .NET 7 and C# 8, 9, 10, 11. Docfx can now generate API docs for .NET 7 projects supporting all the latest C# language features including:

  • Nullable reference types
  • Default interface members
  • Init-only setters
  • Record types
  • Record struct
  • Checked user defined operators
  • Static abstract interface members
  • Required modifier

Display of API names and signatures have been updated to be more idiomatic C#, including but not limited to:

  • Short familiar type names such as string, int
  • ? for nullable structs and () for tuples

Markdown engine and custom markdown extensions

Markdig has been changed to be the default and recommended markdown engine in docfx. At the same time we are deprecating dfm and other markdown engines supported by docfx. Dfm markdown engine would be removed in some future releases.

To use a custom markdown extension in markdig, a ConfigureMarkdig build option is added to customize the markdig markdown pipeline:

var options = new BuildOptions
{
    // Enable custom markdown extensions here
    ConfigureMarkdig = pipeline => pipeline.UseCitations(),
}

await Docset.Build("docfx.json", options);

Client-side redirection

The new redirect_url metadata redirects a page to a new URL. To setup redirection for a markdown article, remove all markdown content and replace it with:

---
redirect_url: <URL to redirect to>
---

Known Issues

What's Changed

💥 Breaking Changes

🎉 New Features

🐞 Bug Fixes

🔧 Engineering

📄 Documentation

New Contributors

Full Changelog: https://github.com/dotnet/docfx/compare/v2.60.0...v2.61.2

docfx - v2.60.2

Published by yufeih almost 2 years ago

What's Changed

🐞 Bug Fixes

Full Changelog: https://github.com/dotnet/docfx/compare/v2.60.1...v2.60.2

docfx - v2.60.1

Published by yufeih almost 2 years ago

What's Changed

🐞 Bug Fixes

New Contributors

Full Changelog: https://github.com/dotnet/docfx/compare/v2.60.0...v2.60.1

docfx - Version 2.60.0

Published by yufeih almost 2 years ago

.NET Core Support

This is the first stable release of docfx on .NET Core!
Docfx is released as a .NET Core Tool starting from v2.60.0. To install, run:

dotnet tool update -g docfx

The rest of the command line experience hasn't changed and are backward compatible. We've also updated docfx homepage use the .NET Core version of docfx.

What's Changed

🎉 New Features

🐞 Bug Fixes

🔧 Engineering

📄 Documentation

New Contributors

Full Changelog: https://github.com/dotnet/docfx/compare/v2.59.4...v2.60.0

docfx - Version 2.60.0-preview.2

Published by yufeih almost 2 years ago

What's Changed

Addresses all known limitations in v2.60.0-preview.1:

  • .NET Core: Support generating APIs from source code, csproj, DLLs without installing .NET Framework.
  • Cross platform: Support Windows, Linux and MacOS
  • New Extensibility Model: docfx.console and plugins are replaced with a new compile time extensibility model. To consume docfx as a library or use docfx extensions, add reference to the Microsoft.DocAsCode.App package. See samples/extensions folder on a sample using the memberpage plugin.

🎉 New Features

Full Changelog: https://github.com/dotnet/docfx/compare/v2.60.0-preview.1...v2.60.0-preview.2

docfx - Version 2.60.0-preview.1

Published by yufeih almost 2 years ago

.NET Core Support

This is the first preview of docfx that builds on top of .NET Core!
Docfx is released as a .NET Core Tool starting from v2.60.0-preview.1. .NET 6.x is required to run docfx. To install, run:

dotnet tool update -g docfx --version 2.60.0-preview.1

The rest of the command line experience hasn't changed and are backward compatible. We've also updated docfx homepage use the .NET Core version of docfx.

Known Limitations

  • Msbuild integration through docfx.console is not supported in this preview.
  • Plugins like memberpage, rest.tagpage, rest.operationpage are not supported in this preview.
  • Supports Windows only. Linux and MacOS are not supported in this preview.
  • .NET Framework 4.x is still needed to build from source code in this preview.

What's Changed

🎉 New Features

🐞 Bug Fixes

🔧 Engineering

📄 Documentation

New Contributors

Full Changelog: https://github.com/dotnet/docfx/compare/v2.59.4...v2.60.0-preview.1

docfx - Version 3.0.0-beta1.1260+9e3c31b73d

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1253+746a8e2c7d

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1251+99503c0a29

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1248+9f62922512

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1247+4900a54450

Published by github-actions[bot] about 2 years ago

docfx - Version 2.59.4

Published by opbld49 about 2 years ago

  1. Fix "lastmod" had erroneous datetimes in some locales for "Sitemap.xml". Thanks @tagcode! (#8105)
  2. Add try catch and needed logging for a actionable message to the user. Thanks @saipramod! (#8131)
  3. Fix metadata generation. Thanks @tibel (#8135)
  4. Add Require Powershell 7 directive to UpdateTemplate.ps1. Thanks @eugeneogongo (#8133)
  5. Using NuGet v3 feed. Thanks @tibel (#8138)
  6. Fix broken tool page layout. Thanks @MikeHingley22 (#8094)
  7. Handle list items without either or . Thanks @mstefarov (#8132)
  8. Improve documentation. Thanks @formalatist (#8086) @mode777 (#8099)
docfx - Version 3.0.0-beta1.1245+f5ed694c16

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1242+29461cc842

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1235+f5a62adcac

Published by github-actions[bot] about 2 years ago

docfx - Version 3.0.0-beta1.1228+6b4d8ac8ec

Published by github-actions[bot] over 2 years ago

docfx - Version 2.59.3

Published by opbld49 over 2 years ago

  1. Document update. Thanks @jmswisher, @sdgilley, @sethreidnz
  2. Use PdfConvertParallelism to control number of WkHtmlToPdf processes. Thanks @AustinWise!
  3. Fix tag typo in default template. Thanks @DiCaver!
  4. Upgrade Newtonsoft.Json to 13.0.1.
docfx - Version 3.0.0-beta1.1221+79cc4076d8

Published by github-actions[bot] over 2 years ago

docfx - Version 3.0.0-beta1.1215+8cbcb22ae6

Published by github-actions[bot] over 2 years ago

docfx - Version 3.0.0-beta1.1216+90e8133da1

Published by github-actions[bot] over 2 years ago

Package Rankings
Top 17.68% on Formulae.brew.sh
Badges
Extracted from project README
NuGet ci nightly Help Wanted
Related Projects