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

'doc' command sorts by title #96

Merged
merged 4 commits into from
Dec 9, 2020

Conversation

artis3n
Copy link
Contributor

@artis3n artis3n commented Dec 9, 2020

Generated documentation now sorts by title, not by file path. If policyID exists for a given policy, that is taken into account when sorting the generated policies.

examples/policies.md was generated by running make acceptance. The only code changes are to internal/commands/document.go, the rest is auto-generated.

Fixes #87

artis3n and others added 4 commits December 8, 2020 20:14
Optionally with policyID if that is included in the generated
documentation
Copy link
Collaborator

@jalseth jalseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@jalseth jalseth merged commit 40f697f into plexsystems:main Dec 9, 2020
@artis3n artis3n deleted the sort-documentation-by-title branch December 9, 2020 02:55
artis3n referenced this pull request in artis3n/konstraint Dec 9, 2020
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.

Weird out-of-order creation of policy documentation
2 participants