The default template creates a single Markdown document for the console application and documents for every command if the application has multiple commands.
To use the default template, set the Template Name setting to Default
.
To customize the output produced by the default template, adjust the settings documented below.
Setting | mddocs:commandlinehelp:template:default:markdownPreset |
Commandline Parameter | - |
MSBuild Property | - |
Default value | Default |
Allowed values |
|
The Markdown Preset customizes serialization of Markdown.
Supported values are:
default
: Produces Markdown that should work in most environments, including GitHub and GitLabMkDocs
: Produces Markdown optimized for being rendered by Python-Markdown and MkDocs
For details on the differences between the presets, see also Markdown Generator docs.
Setting | mddocs:commandlinehelp:template:default:includeVersion |
Commandline Parameter | - |
MSBuild Property | - |
Default value | true |
Allowed values |
|
The Include Version setting controls whether the version of the application is included in the generated documentation.
The version included in the documentation is the informational version if the application assembly has a AssemblyInformationalVersion
attribute, otherwise the assembly version is used.
Setting | mddocs:commandlinehelp:template:default:includeAutoGeneratedNotice |
Commandline Parameter | - |
MSBuild Property | - |
Default value | true |
Allowed values |
|
By default, Markdown documents generated by MdDocs include a comment at the start of the document that indicates that the file was auto-generated. This notice is intended to avoid edits in files that will be lost when the file is regenerated.
The Include AutoGenerated Notice setting can be used to disable inclusion of this comment (by default, the comment is included):
{
"mddocs" : {
"commandlinehelp" : {
"template" : {
"default" : {
"includeAutoGeneratedNotice" : false
}
}
}
}
}