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

Output at least something for unknown node types #27

Open
PlasmaHH opened this issue Nov 22, 2024 · 1 comment
Open

Output at least something for unknown node types #27

PlasmaHH opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@PlasmaHH
Copy link

I get quite a few warnings for the builder not supporting some node types, e.g. the built in inheritance_diagram or when using the sphinx.ext.todo extension one todo_node type.

Would it be possible for those not (yet) supported to output something anyways? Like a best effort approach or so, going through the structure and trying to output all other known nodes...

That way it won't look pretty, but at least the information is there.

@PlasmaHH PlasmaHH added the enhancement New feature or request label Nov 22, 2024
@liran-funaro
Copy link
Owner

This can be implemented via a feature flag, which will prevent raising nodes.SkipNode in the method unknown_visit(self, node).
While my bandwidth for implementing new features is limited at the moment, I truly appreciate your initiative and would be happy to review and merge a pull request if you'd like to contribute to this enhancement.

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

No branches or pull requests

2 participants