taskdoc

command
v0.14.0-preview.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package taskdoc implements documentation rendering for tasks. It is intended to be run via `go run`, passing a task YAML manifest and a description in Asciidoctor format. The combined result will be written to the specified destination.

Example invocation:

go run github.com/opendevstack/ods-pipeline/cmd/taskdoc \
	-task tasks/my-task.yaml \
	-description build/docs/my-task.adoc \
	-destination docs/my-task.adoc

By default, taskdoc will use the template located at docs/tasks/template.adoc.tmpl to produce the resulting file. Another template can be specified via -template:

go run github.com/opendevstack/ods-pipeline/cmd/taskdoc \
	-task tasks/my-task.yaml \
	-description build/docs/my-task.adoc \
	-template /path/to/my-custom-template.adoc.tmpl \
	-destination docs/my-task.adoc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL