Skip to content

Tool that finds triple slash comments that exist in the .NET repos but do not yet exist in the dotnet-api-docs repo, and ports them.

Notifications You must be signed in to change notification settings

RussKie/DocsPortingTool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocsPortingTool

This tool finds and ports triple slash comments found in .NET repos but do not yet exist in the dotnet-api-docs repo.

Usage example:

This command will look for triple slash comments in APIs from System.IO* and System.Text* (except System.IO.Compression and System.IO.FileSystem), within the corefx and coreclr repos, then check if they are missing in the dotnet-api-docs repo, and if they are, then they get automatically added to the appropriate xml file:

DocsPortingTool.exe -docs D:\dotnet-api-docs -include System.IO,System.Text -exclude System.IO.Compression,System.IO.FileSystem -save true -tripleslash D:\coreclr\bin\Product\Windows_NT.x64.Debug\IL\,D:\corefx\artifacts\bin\

Options:

no arguments:   -h or -help             Optional. Displays this help message. If used, nothing else will be processed.


folder path:    -docs                   Mandatory. The absolute directory path to the Docs repo.

                                            Usage example:
                                                -docs %SourceRepos%\dotnet-api-docs


string list:    -exclude                Optional. Comma separated list (no spaces) of specific .NET assemblies to ignore. Default is empty.
                                            Usage example:
                                                -exclude System.IO.Compression,System.IO.Pipes


string:         -include                Mandatory. Comma separated list (no spaces) of assemblies to include.

                                            Usage example:
                                                System.IO,System.Runtime.Intrinsics


bool:           -save                   Optional. Wether we want to save the changes in the dotnet-api-docs xml files. Default is false.
                                            Usage example:
                                                -save true


folder paths:   -tripleslash            Mandatory. List of absolute directory paths (comma separated) where we should look for triple slash comment xml files.

                                            Known locations:
                                                > CoreCLR:   coreclr\bin\Product\Windows_NT.x64.Debug\IL\
                                                > CoreFX:    corefx\artifacts\bin\
                                                > WinForms:  winforms\artifacts\bin\
                                                > WPF:       wpf\.tools\native\bin\dotnet-api-docs_netcoreapp3.0\0.0.0.1\_intellisense\\netcore-3.0\

                                            Usage example:
                                                -tripleslash %SourceRepos%\corefx\artifacts\bin\,%SourceRepos%\coreclr\bin\Product\Windows_NT.x64.Debug\IL\

About

Tool that finds triple slash comments that exist in the .NET repos but do not yet exist in the dotnet-api-docs repo, and ports them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%