Tasks¶
The nmk-doc plugin defines the tasks described below.
Setup tasks¶
All tasks in this chapter are dependencies of the base setup task.
doc.config – doc configuration file generation¶
This tasks generates the sphinx configuration file.
Property |
Value/description |
|---|---|
builder |
|
input |
${docConfigTemplate} template file |
output |
${docConfig} file |
if |
enabled only if ${docIndex} config item is not empty |
doc.rtd – Read The Docs build configuration file generation¶
This tasks generates the Read The Docs automated build configuration file.
Property |
Value/description |
|---|---|
builder |
|
inputs |
${docConfig} doc config file |
output |
${docRTDConfig} file |
if |
enabled only if ${docIndex} config item is not empty |
puml.download – Download the PlantUML runtime¶
This tasks downloads the PlantUML runtime, needed to generate image files from input diagram files.
Property |
Value/description |
|---|---|
builder |
|
inputs |
|
output |
${plantUmlLocalPath} file |
if |
Builder is called with the following parameters:
Parameter name |
Value |
|---|---|
url |
|
request_function |
Added in version 1.1.0
Build tasks¶
All tasks in this chapter are dependencies of the base build task.
doc.build – documentation build¶
This tasks builds the documentation by calling the sphinx tool.
Property |
Value/description |
|---|---|
builder |
|
input |
${docInputs} files |
output |
${docOutput} folder |
if |
enabled only if ${docIndex} config item is not empty |
Builder is called with the following parameters:
Parameter name |
Value |
|---|---|
source_folder |
|
output_folder |
|
version |
${docVersion} |
puml.generate – Generate the PlantUML diagram images¶
This tasks calls the PlantUML runtime to generate image files from input diagram files.
Property |
Value/description |
|---|---|
builder |
|
inputs |
${plantUmlDiagrams} files |
output |
${plantUmlOutputFiles} files |
if |
Builder is called with the following parameters:
Parameter name |
Value |
|---|---|
jar |
|
java_runtime |
|
input_folder |
|
output_folder |
|
formats |
|
extra_options |
Added in version 1.1.0