Skip to main content

A program to generate markdown documentation files from Task files

Project description

task2md

Software License semantic-release: angular Pipeline Status

Built with Material for MkDocs Source code documentation

A CLI tool to generate from Task files, some markdown documentation files for mkdocs static site.

Usage: task2md [OPTIONS] COMMAND [ARGS]...

  A CLI tool to generate markdown documentation files from Task files.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  dir   Command to generate a markdown documentation file from a directory.
  file  Command to generate a markdown documentation file from a Task file.

dir

Get all files with yaml/yml extension from the input directory and generate the markdown files in the output directory.

Usage: task2md dir [OPTIONS]

  Command to generate a markdown documentation file from a directory.

  Raises:     click.ClickException: Error when reading input file or writing
  output file

Options:
  -i, --input DIRECTORY  Input directory  [required]
  -d, --dir DIRECTORY    Output markdown documentation files directory.
                         Default current directory.
  --help                 Show this message and exit.

Example:

task2md dir --input Taskfile.d/ -d doc_dir/

file

Generate from the input file a markdown file in the output directory.

Usage: task2md file [OPTIONS]

  Command to generate a markdown documentation file from a Task file.

  Raises:     click.ClickException: Error when reading input file or writing
  output file

Options:
  -i, --input FILE     Input Task yaml file.  [required]
  -d, --dir DIRECTORY  Output markdown documentation files directory. Default
                       current directory.
  --help               Show this message and exit.

Example:

task2md file --input Taskfile.d/lint.yml -d doc_dir/

Installation

With Python environment

To use:

  • Minimal Python version: 3.14

Installation with Python pip:

python3 -m pip install task2md
task2md --help

Authors

License

This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE for details.

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

task2md-1.2.0.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

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

task2md-1.2.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file task2md-1.2.0.tar.gz.

File metadata

  • Download URL: task2md-1.2.0.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for task2md-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0cad89001a3a62787e7419dac516d5cf1c974914f90bf8f6e3cfda458ca755ab
MD5 d9757526f351a5ebb4c47b8ffffd1a07
BLAKE2b-256 3483c3dddb4376fd0ece9617b6ef986dfe75510d588e70a9b7730c146cc5d145

See more details on using hashes here.

File details

Details for the file task2md-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: task2md-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for task2md-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61eac2f62fcda6f5f521a332706660828c7ee4d7f979319ca8313a30c7fda335
MD5 fb51a7d0774e5eb0b34ef89b068a4b8d
BLAKE2b-256 65b9bbc26074bb1894c5bf4ca5bef2f932390e9bb77cc194968202272c87f0df

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