Docs for library and console apps #10452
-
I can't find in the documentation if you can use docfx for library or console apps. Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
DocFX has features for generating HTML documentation for a C# library. An API reference that describes the types and members, "conceptual" documentation that does not directly correspond to the API structure, and links between these. There was some support for documenting libraries in Visual Basic .NET, and even in other programming ecosystems, but I don't know whether any of that works nowadays. DocFX does not have any features specifically for documenting a console application and its command-line options and process exit codes. It can be used for that purpose, though. |
Beta Was this translation helpful? Give feedback.
https://dotnet.github.io/docfx/docs/dotnet-api-docs.html
See https://dotnet.github.io/docfx/api/Docfx.html for an example of the HTML this generates, and https://github.com/dotnet/docfx/blob/99caca2b069bc3bcd5c8ca4b4aba0506541196bf/docs/docfx.json for the configuration with which that was generated.