DotBook 0.5.10
dotnet tool install --global DotBook --version 0.5.10
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local DotBook --version 0.5.10
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DotBook&version=0.5.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DotBook --version 0.5.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About the project
DotBook is a .NET CLI tool for human-friendly documentation generation from C# source files.
Currently supported formats are:
- Markdown (can be uploaded to Github Pages directly)
- HTML (suitable for offline browsing or iframe integration)
Installation (.NET Core 2.1 and later)
dotnet tool install -g DotBook
Installation (previous versions without 'tool install')
- Add the following item to your .csproj:
<ItemGroup>
<DotNetCliToolReference Include="DotBook" Version="0.5.5"/>
</ItemGroup>
- Run the
dotnet restore
command
How to use
Run dotnet doc
in the project folder to use default settings or dotnet doc --help
for help.
Tip: If you have a README.md or README.html (depending on the format) at the source root, it will be included at the index page before the API Documentation.
Command-line options
Option format: -option, --option
o, output
- Output directory for the generated documentation. If not specified, defaults to 'docs'.s, src
- Directory for C# code searchv, visibility
- Include types and members with the specified visibilities. Defaults to 'public'.h, use-hash
- Use hashing for documentation filenames to allow deep hierarchies. If false, uses escaped type/member name. Defaults to 'false'.f, format
- Sets the output format. Default is Markdown. Available formats: Markdown, Html?, help
- Displays the help message.
Examples
dotnet doc
dotnet doc --format html
dotnet doc --src /my-module --output /my-module-docs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.5.10 | 501 | 4/21/2021 |
0.5.9 | 857 | 12/7/2018 |
0.5.8 | 830 | 10/2/2018 |
0.5.7 | 881 | 10/2/2018 |
0.5.6 | 1,007 | 7/16/2018 |
0.5.6-hotfix1 | 678 | 10/2/2018 |
0.5.6-hotfix | 678 | 10/2/2018 |
0.5.5 | 1,291 | 1/7/2018 |
0.5.5-dev | 952 | 1/5/2018 |
0.5.4-dev | 921 | 1/4/2018 |
0.5.3-dev | 950 | 1/3/2018 |
0.5.2-dev | 948 | 1/3/2018 |
0.5.1-dev | 883 | 1/3/2018 |
0.5.0-dev | 938 | 1/2/2018 |