docfx

Static site generator for .NET API documentation.

MIT License

Downloads
38
Stars
4K
Committers
254

Bot releases are hidden (Show)

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 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 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 2.59.2

Published by opbld49 over 2 years ago

  1. Adds support for custom text in cref references. Thanks @dotMorten! (#7978)
docfx - Version 2.59.1

Published by opbld49 over 2 years ago

  1. Microsoft.DocAsCode.Build.RestApi and Microsoft.DocAsCode.Build.TableOfContents Support .NET Standard.
docfx - Version 2.59.0

Published by opbld49 almost 3 years ago

  1. Upgrade markdig to 2.26.0. (#7701)
  2. Allow custom markdig extensions. (#3387)
  3. Only show public interfaces in generated syntax. (#3154)
docfx - Version 2.58.9

Published by opbld49 almost 3 years ago

  1. Fix invalid Github release asset. (#7690)
  2. Fix circular dependency issue when install docfx with nuget cli tool. (#7691)
  3. Improve choco error log by printing choco log file content. (#7692)
docfx - Version 2.58.8

Published by opbld49 almost 3 years ago

  1. Fix nuget package file filter of PublishToAzureDevOps() in CI. (#7684)
docfx - Version 2.58.5

Published by opbld49 about 3 years ago

  1. Fix Preserve url query string when using tabs (#7617)
docfx - Version 2.58.4

Published by opbld49 about 3 years ago

  1. Fix unexpected NuGet package layout change by pinning to 5.9.1. (#7570)
docfx - Version 2.58.3

Published by opbld49 about 3 years ago

  1. Fix unexpected NuGet package layout change by pinning to 5.9.1. (#7570)
docfx - Version 2.58.2

Published by opbld49 about 3 years ago

  1. Bug fix:
    1. unexpected NuGet package layout change. (#7557)
    2. Rest API build failure when definition contains examples. (#7561)
docfx - Version 2.58.1

Published by opbld49 about 3 years ago

  1. Dozens of document improvements. Thanks @BryanLa!
  2. Bug fix:
    1. Show cref name instead of missing if not resolved. Thanks @Emdot! (#7245)
    2. Fix showing wrong syntax for nullable value types. Thanks @mikernet! (#7045, #5964)
    3. Fix exception when loading memberpage plugin. Thanks @jamiehankins! (#7422)
    4. Get latest Visual Studio version when creating MSBuild instance. Thanks @jamiehankins (#7463)
docfx - Version 2.58

Published by openpublishbuild over 3 years ago

  1. Basic C# 9 support. Thanks @tannergooding! (#6805)
  2. Support VS Visual Studio 16.10 by using latest Microsoft.Build.Locator 1.4.1. Thanks @jamiehankins! (#4880, #7406)
docfx - Version 2.57.2

Published by openpublishbuild over 3 years ago

  1. Fix search function break. (#7302)
Package Rankings
Top 17.68% on Formulae.brew.sh
Badges
Extracted from project README
NuGet ci nightly Help Wanted
Related Projects