54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"version": 6,
|
|
"configurePresets": [
|
|
{
|
|
"name": "documentation",
|
|
"displayName": "Documentation Build",
|
|
"description": "Configure project with documentation environment setup",
|
|
"binaryDir": "${sourceDir}/build"
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "html",
|
|
"displayName": "Build HTML Documentation",
|
|
"configurePreset": "documentation",
|
|
"targets": ["html"]
|
|
},
|
|
{
|
|
"name": "markdown",
|
|
"displayName": "Build Markdown Documentation",
|
|
"configurePreset": "documentation",
|
|
"targets": ["markdown"]
|
|
},
|
|
{
|
|
"name": "rst",
|
|
"displayName": "Build reStructuredText Documentation",
|
|
"configurePreset": "documentation",
|
|
"targets": ["rst"]
|
|
},
|
|
{
|
|
"name": "docs-parallel",
|
|
"displayName": "Build HTML and Markdown in parallel",
|
|
"configurePreset": "documentation",
|
|
"targets": ["html", "markdown", "rst"]
|
|
}
|
|
],
|
|
"workflowPresets": [
|
|
{
|
|
"name": "documentation-workflow",
|
|
"displayName": "Documentation Build Workflow",
|
|
"steps": [
|
|
{
|
|
"type": "configure",
|
|
"name": "documentation"
|
|
},
|
|
{
|
|
"type": "build",
|
|
"name": "docs-parallel"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|