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

Support for Resource Groups #33

Closed
wants to merge 1 commit into from
Closed

Support for Resource Groups #33

wants to merge 1 commit into from

Conversation

davidstoker
Copy link
Contributor

Added support for Resource Groups by extending the ideas discuss in #6 .

This implementation introduces a Group annotation and a Group section object so that multiple different resources can be associated to the same group. This allows levels to be tracked so that the Markdown header levels can be properly increased for any Resource or Action belonging to a Group.

If there are any resources without a group, they appear at the top of the generated documentation otherwise they would be associated with the last group since Resources are considered part of the previous group until another one is defined.

This doesn't add a Group description yet. This could be unusual to handle since there could incorrectly be differing descriptions on different controllers. The first description encountered could be used.

Another option to enhance this would be a sort priority so that groups could be arranged in a desired order.

…d increasing header levels for any Resources and Actions belonging to a group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant