click-contrib / sphinx-click

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

Add support for mocking modules #129

Closed peytondmurray closed 10 months ago

peytondmurray commented 11 months ago

Summary

This PR adds support for mocking modules using the same machinery used by autodoc and autosummary.

See https://github.com/click-contrib/sphinx-click/pull/120 and https://github.com/click-contrib/sphinx-click/pull/88 for previous PRs related to this topic.

Tasks

Further details

Please let me know if anything else is required to merge this. I'd be happy to do whatever work is necessary to get this merged!

peytondmurray commented 10 months ago

Hey all, I'd really like to push this one through, as it would really help us reduce dependencies during documentation builds with Ray. Is there anything I can do to help this along?

stephenfin commented 10 months ago

Sorry, saw this and promptly forgot about it. Comprehensive patch. No issues from me.

stephenfin commented 10 months ago

As GitHub indicates, this is part of 5.1.0 which was just released.