click-contrib / sphinx-click

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

Mock mod #120

Closed prajeeshag closed 3 months ago

prajeeshag commented 1 year ago

Summary

Tasks

Further details

peytondmurray commented 10 months ago

Hey, I'd really like to see mocking capability merged into sphinx-click. Is there anything I can do to move this PR along?

Also, does it make sense to use autodoc_mock_modules here? In my use case I'd sure like to just be able to define mocks in one place, rather than having to specify a separate list of click_mock_imports.

I'd be happy to make a PR against this branch if needed - just let me know how I can help.

prajeeshag commented 10 months ago

Hi @peytondmurray, Thanks for your interest in merging mocking capability.

Yes, autodoc_mock_modules can be used directly, and I don't see any need for a separate list. I don't remember why I created that.

Please feel free to create a PR, and pardon me if I am saying something stupid here because I have no prior experience in contributing to an open-source project. I don't know the process. Your help in this regard is really appreciated, thanks.

stephenfin commented 3 months ago

Looks like this has stagnated so I'm going to close. Please reopen if you'd like to continue working on this

stephenfin commented 3 months ago

Also, @peytondmurray did this in #129. Whoops :smile: