click-contrib / sphinx-click

A Sphinx plugin to automatically document click-based applications
MIT License
212 stars 57 forks source link

FIX If the `help` of an argument is `None`, don't fail #138

Closed hoodmane closed 4 months ago

hoodmane commented 5 months ago

Summary

This is a fix for a regression introduced in #134. It's possible that the argument has a help attribute, but the value of it is None. We then hit a type error where we pass None to re.sub.

Tasks

(no release note needed since it's a fix for an unreleased feature)