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.6

  • hide workspaces for tasks when none are used
  • show version of pipeline/task when available

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.6.tar.gz (6.2 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.6-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mkdocs_pipeline_visualizer-0.1.6.tar.gz
Algorithm Hash digest
SHA256 fa6bc8e60921d234a4c09eca866ec2839ff64f75638dfb9b2ec7760e714aac8c
MD5 3904ce7b917afad5cb907fec547c9770
BLAKE2b-256 68fbe331fcb1c53f91b2bfc586705a934d453577ae061e90ac4c5e54473d9c83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocs_pipeline_visualizer-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c080189c27e2bd197bf4ba64eb0fa9b2ac39737cd41016f8ebfb66b7e9ec794b
MD5 2a5a42bbbffd51e501b00e6dca3468b4
BLAKE2b-256 406180e8616d0221c93702bc92eb3a131b5bc5625d506a5cda6e176042746a74

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