DhyMik.DocFx.UpdateDocFxVersionAttributeTask 1.1.0

dotnet add package DhyMik.DocFx.UpdateDocFxVersionAttributeTask --version 1.1.0
NuGet\Install-Package DhyMik.DocFx.UpdateDocFxVersionAttributeTask -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DhyMik.DocFx.UpdateDocFxVersionAttributeTask" Version="1.1.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DhyMik.DocFx.UpdateDocFxVersionAttributeTask --version 1.1.0
#r "nuget: DhyMik.DocFx.UpdateDocFxVersionAttributeTask, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DhyMik.DocFx.UpdateDocFxVersionAttributeTask as a Cake Addin
#addin nuget:?package=DhyMik.DocFx.UpdateDocFxVersionAttributeTask&version=1.1.0

// Install DhyMik.DocFx.UpdateDocFxVersionAttributeTask as a Cake Tool
#tool nuget:?package=DhyMik.DocFx.UpdateDocFxVersionAttributeTask&version=1.1.0

Show up-to-date version information in your DocFx documentation.
This MS build task adds dll version information to a DocFx configuration file and keeps it in sync with the project's version information on every build. In addition, `globalMetadata` attributes are written as css variables to a css file.
In this way, the documentation pages generated by DocFx can contain up-to-date version information without the need for manual updates of the DocFx configuration file.
     A full example with the necessary markup changes to DocFx template files can be found on the project's website.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 3,697 6/24/2021
1.0.0 1,614 6/21/2021

Release v1.1.0: Added generation of `globalMetadataVariables.css` file with css variables generated from `globalMetadata` attributes in `docfx.json`. This adds an alternative way to include `version` and other custom data in DocFx output.