Python script to generate documentation from a tekton file
clone https://github.com/acarval/tekton-to-md.git
pip3 install -r requirements.txt
python3 generate-documentation.py --tekton-dir ./tekton-example --dst-dir ./documentation-example
For more information on the arguments, run:
python3 generate-documentation.py --help
⚠️ The script will delete the old documentation if there is any files in the --dst-dir path prodived
python3 generate-documentation.py --tekton-dir ./tekton-example --dst-dir ./documentation-example
tekton-example: Tekton yaml files are retrieve from https://github.com/open-toolchain/tekton-catalog repository.