Generated test module will be included by default in sphinx docs
ianmkenney opened this issue · comments
Ian Kenney commented
I'm sure that, most of the time, developers don't care much about having user facing documentation for tests. With the recursive autodocs, these modules are included by default. We should be able to remove them with something like
autodoc_mock_imports = [
'{{mykit}}.tests',
]
to conf.py
.
Lily Wang commented
Thanks for raising this @ianmkenney! sounds like a good solution -- could you please open a PR?