sphinx-click icon indicating copy to clipboard operation
sphinx-click copied to clipboard

Mock mod

Open prajeeshag opened this issue 2 years ago • 2 comments

Summary

Tasks

  • [ ] Added unit tests
  • [ ] Added documentation for new features (where applicable)
  • [ ] Added release notes (using reno)
  • [ ] Ran test suite and style checks and built documentation (tox)

Further details

prajeeshag avatar Feb 21 '23 11:02 prajeeshag

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.

peytondmurray avatar Sep 20 '23 17:09 peytondmurray

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.

prajeeshag avatar Sep 24 '23 09:09 prajeeshag

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

stephenfin avatar Apr 05 '24 10:04 stephenfin

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

stephenfin avatar Apr 05 '24 10:04 stephenfin