Skip to main content

generate MD documentation from tekton pipelines and tasks

Project description

mkdocs-mkdocs-pipeline-visualizer

Usage

$ pip install mkdocs-pipeline-visualizer

Example of mkdocs.yaml

site_name: Tekton

nav:
  - Home: index.md
  - Deployment Pipeline: ./path/to/pipeline/deploy-pipeline.md

plugins:
  - pipeline-visualizer

./path/to/pipeline/deploy-pipeline.md is the path to the actual pipeline definition but replace the extension from .yaml to .md

(Optional) configuration these are the default values

plugins:
  - techdocs-core:
      plantuml_graphs: True
      plantuml_graph_direction: TB
      plantuml_theme: _none_
  • plantuml_graphs [bool] controls if pipeline graph should be visible
  • plantuml_graph_direction [string] TB(top to bottom) or LR(left to right)
  • plantuml_theme [string] any theme from https://plantuml.com/theme to style plantuml_theme e.g hacker, spacelab

Changelog

0.1.5

  • remove extra --- after tasks
  • sample of how to use task in pipeline
  • make plantuml graphs optional using boolean plantuml_graphs default true
  • only process pipeline or tasks

0.1.4

  • show all tasks in finally block

0.1.3

  • enable configuration of graph direction plantuml_graph_direction either TB or LR
  • configuration for plantuml theme plantuml_theme string (https://plantuml.com/theme)
  • display references to configMaps

0.1.2

  • remove unused code
  • change how default and empty values are presented

0.1.1

  • fix issue with multicods

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_pipeline_visualizer-0.1.5.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_pipeline_visualizer-0.1.5-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_pipeline_visualizer-0.1.5.tar.gz.

File metadata

File hashes

Hashes for mkdocs_pipeline_visualizer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0053cc19cb8de8b900be8e2a24ec08925286e84cb2a9e23f18c11b1b8523c85d
MD5 7b3c07048c393db095335fbc73f37a65
BLAKE2b-256 aad94d37e2766f9f141bbfd7e668b437bbdec4cfd8ed7056a37332865be9496e

See more details on using hashes here.

File details

Details for the file mkdocs_pipeline_visualizer-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_pipeline_visualizer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7f33d1787cc74b28300a8d2bb484bd750d2e364d69aa08f00bfd77b0455823
MD5 2d0533c11019282acdd5b978dbad5d30
BLAKE2b-256 93fc00ccf1283dfd917c0525d195dc8f105ca5d358c4c3dedb52f6a986ef218f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page