-
Notifications
You must be signed in to change notification settings - Fork 431
YAML Documentation Tasks YAML
rfennell edited this page Dec 13, 2022
·
3 revisions
The 'YAML Documentation Generator' package contains the following tasks. The table show the possible variables that can be used in YAML Azure DevOps Pipeline configurations
Generate YAML documentation for the Azure DevOps Extension
# Generate YAML Documentation
# Description - Generate YAML documentation for the Azure DevOps Extension
- task: GenerateYAMLTask@2
inputs:
# Required arguments
inDir: $(System.DefaultWorkingDirectory)
outDir: $(Build.ArtifactStagingDirectory)
-
Argument: inDir
- Description: The directory that contains the 'vss-extensionjson' for the extension
- Type: string
- Required: true
- Default (if defined): $(System.DefaultWorkingDirectory)
-
Argument: outDir
- Description: The folder to write the documentation to.
- Type: string
- Required: true
- Default (if defined): $(Build.ArtifactStagingDirectory)
-
Argument: filePrefix
- Description: Prefix for filename, if not set the -YAML.md will be used
- Type: string
- Required: false
- Default (if defined):
-
Argument: copyReadme
- Description: If true also copies the extension readme.md as .md
- Type: boolean
- Required: false
- Default (if defined): False