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

Handling of empty classes (no attributes) in auto-generated markdown documentation #37

Open
el-wiss opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@el-wiss
Copy link
Member

el-wiss commented Oct 23, 2024

On rare occasions, models can contain classes with no attributes (such as SIA405 Base) with its BaseClass.
The table with its headers is still created, but remains empty, which is suboptimal when viewing the documentation.
image

It is clearly an edge case and technically not a bug, but maybe the behaviour could be enhanced by introducing a simple check for attributes, and if the number is zero, the insertion of a placeholder such as "keine Attribute in dieser Klasse"?

@el-wiss el-wiss added the enhancement New feature or request label Oct 23, 2024
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

1 participant