Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:skip: no longer works with standard library objects #141

Closed
eslavich opened this issue Dec 27, 2021 · 3 comments · Fixed by #142
Closed

:skip: no longer works with standard library objects #141

eslavich opened this issue Dec 27, 2021 · 3 comments · Fixed by #142
Labels

Comments

@eslavich
Copy link

Prior to the 0.14 release, it was possible to use :skip: on standard library objects that were imported by a module:

.. automodapi:: sphinx_automodapi.tests.example_module.stdlib
    :skip: time
    :skip: Path

In 0.14, those :skip: directives are disappeared by code introduced to support :include:. I opened a PR with a test showing the new failure: #140. The test passes if I revert the commits from #127.

@pllim
Copy link
Member

pllim commented Dec 27, 2021

@adrn , any idea how to fix?

@pllim
Copy link
Member

pllim commented Dec 27, 2021

Although... why does the affected module has no __all__ defined? See spacetelescope/jwst#6522 for an alternative fix instead of pinning to an older sphinx-automodapi.

@adrn
Copy link
Member

adrn commented Dec 28, 2021

Possible fix in #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants