Install-Package SauceControl.InheritDoc -Version 1.3.0
dotnet add package SauceControl.InheritDoc --version 1.3.0
<PackageReference Include="SauceControl.InheritDoc" Version="1.3.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add SauceControl.InheritDoc --version 1.3.0
#r "nuget: SauceControl.InheritDoc, 1.3.0"
// Install SauceControl.InheritDoc as a Cake Addin #addin nuget:?package=SauceControl.InheritDoc&version=1.3.0 // Install SauceControl.InheritDoc as a Cake Tool #tool nuget:?package=SauceControl.InheritDoc&version=1.3.0
This MSBuild Task automatically replaces
inheritdoc tags in your .NET XML documentation with the actual inherited docs. By integrating with MSBuild, this tool has access to the exact arguments passed to the compiler -- including all assembly references -- making it both simpler and more capable than other documentation post-processing tools. As it processes
inheritdoc elements, it is able to accurately resolve base types whether they come from the target framework, referenced NuGet packages, or project references. This means it can intelligently map documentation from base types and members to yours. For example, it can identify when you change the name of a method parameter from the base type’s definition and update the documentation accordingly. It can also remove documentation for non-public types/members to reduce the size of your published XML docs.
How to Use It
inheritdoctags to your XML documentation comments.
This tool’s handling of
inheritdoctags is based on the draft design document used for the new prototype Roslyn support, which is in turn based on the
inheritdocsupport in Sandcastle Help File Builder (SHFB).
Add the SauceControl.InheritDoc NuGet package reference to your project.
This is a development-only dependency; it will not be deployed with or referenced by your compiled app/library.
Build your project as you normally would.
The XML docs will be post-processed automatically with each non-debug build, whether you use Visual Studio, dotnet CLI, or anything else that hosts the MSBuild engine.
This package has no dependencies.
This package is not used by any NuGet packages.
GitHub repositories (6)
Showing the top 5 popular GitHub repositories that depend on SauceControl.InheritDoc:
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access!
A framework for building JSON:API compliant REST APIs using ASP.NET and Entity Framework Core.
C#/.NET test automation framework for web
MagicScaler high-performance, high-quality image processing pipeline for .NET
See https://github.com/saucecontrol/InheritDoc/releases for release-specific notes.