Skip to main content

MkHelp

Support for docstrings in makefiles


Documentation Status

Sometimes it is convenient to use a makefile as interface to development workflows. The recipes are flexible, can depend on other targets and make provides tab completion.

With the script provided by this package it is easy to also get a help message describing important make targets. Look at the .DEFAULT_GOAL and bin/print_makefile_help.py targets in the makefile to see how to set it up. Once set up it could look something like

$ make
Verbs:
 help: Print help message

Checks:
    check_all: Run all checks that have not yet passed
 check_format: Check format
   check_lint: Check lint
   check_dist: Check that distribution can be built and will render correctly on PyPi
   check_docs: Check that documentation can be built
   check_diff: Check that there are no untracked git changes
  check_tests: Check that unit tests pass
    check_tox: Check that unit tests pass in multiple environments
  check_types: Check types

Fixes:
 fix_format: Fix format

Nouns:
 bin/print_makefile_help.py: Update the script that generates the help message for this makefile
      build/docs/index.html: Build this documentation

One additional feature of this package is to export the docstrings in the makefile to other formats allowing them to be included in documentation. Look at the build/docs/index.html target in the makefile to see how to set it up. Once set up it could look something like the makefile page in the docs of this project.

Metadata

Release files for mkhelp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkhelp 0.2.1
File Size Uploaded
mkhelp-0.2.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkhelp 0.2.1
File Interpreter ABI Platform
mkhelp-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / mkhelp-0.2.1.tar.gz

Download URL mkhelp-0.2.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
28a60d488afa304523898f5e468a6bf9f604bdae8ec60f7b9a8876d520fba0bb
BLAKE2b-256 checksum
How to use checksums
3ce6716b9ae189454019ccc050c472d863b7a4dbd504231d86356d3c3fca24c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / mkhelp-0.2.1-py3-none-any.whl

Download URL mkhelp-0.2.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7fcdea8273fce050230bd6efb5d742277cc5243745e5b41e360ac01c6508937
BLAKE2b-256 checksum
How to use checksums
82d94996737beb48a4b97e061b9428dce6e600279dca161b55f90913afce55ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page