Skip to main content

Tooling for generating documentation from Helm Charts

Project description

Quick Overview

Env Example Default Description
TRAINS_PATH "./charts" "./charts" Path where trains are stored
IMAGE_PATH "./mirror" "./mirror" Path where "mirror" is stored
PORT_LIST_FILE "./default_port_list.md" "./default_port_list.md" Name and path of the port list file
VOLUME_LIST_FILE "./volume_list.md" "./volume_list.md" Name and path of the volume list file
DESCRIPTION_LIST_FILE "./description_list.md" "./description_list.md" Name and path of the description list file
EXCLUDE_TRAINS "dev,games" "" List of excluded trains
EXCLUDE_TRAINS "traefik,nextcloud" "" List of excluded apps
VERBOSE "False" "True" Print Verbose Output
GENERATE_PORT_FILE "False" "True" Set to false to NOT generate a file
GENERATE_VOLUME_FILE "False" "True" Set to false to NOT generate a file
GENERATE_DESCRIPTION_FILE "False" "True" Set to false to NOT generate a file
PRINT_IMAGE_SOURCE "False" "True" Set to false to NOT print the image source
SPLIT_DESCRIPTION_EVERY 70 70 Split description into lines every n character.
If character is not " ", it will do on the nearest " "
FALLBACK_URL "https://truecharts.org" "https://truecharts.org" URL to return if the URL we are trying to get does not exist (eg, links for home:)
SORT_VOLUMES_BY_STATUS "False" "True" Set to false to NOT generate a file
TRAIN_ORDER_FOR_FILES "core,stable" "core,stable,dependency,games" Order of trains which will appear in the files

Environment Variables in depth

TRAIN_ORDER_FOR_FILES

This ordered will be used, any trains not listed here and not excluded will be added automatically to the end. Any trains added to this list but not existing in file system will be ignored.

SORT_VOLUMES_BY_STATUS

Volumes make sense to order by app name, so each app has it's volumes one after the other. If we sort by status, (eg disabled etc), volumes will be all over the place

Boolean envs

Anything other than True, true or 1 is considered False

How to run this

  • Install pipenv
    • pip install pipenv
  • Install dependencies
    • pipenv install
  • Activate pipenv environment
    • pipenv shell
  • Run it
    • python app.py

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

docgenerator-1.0.3.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

docgenerator-1.0.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file docgenerator-1.0.3.tar.gz.

File metadata

  • Download URL: docgenerator-1.0.3.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for docgenerator-1.0.3.tar.gz
Algorithm Hash digest
SHA256 61d99a6413d01565194645cad1e6b6ca6780142cedc574f7d5fc37b2db5bc030
MD5 261f3a9da5596f4bdc778ddb83ddc1b7
BLAKE2b-256 10cd712f3211bc34f84d79dc883c0872bf8e475a985a140a553b844aa2854e7f

See more details on using hashes here.

File details

Details for the file docgenerator-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: docgenerator-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for docgenerator-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d8f81851aadb563d5cc11604a30d39fe0eb1be7ccee3808008da141d6094b365
MD5 df2ea231f39107bb0fd5c9b3ce77f7bf
BLAKE2b-256 9d6d49754364125f3ec11502fca08f7c80d3641ec302bdebd9331df1ac11ea6c

See more details on using hashes here.

Supported by

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