-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat: Support custom doc template #428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense, thanks for the PR! Just a couple of comments.
2340b42
to
a61228b
Compare
Signed-off-by: Manuel Rüger <[email protected]>
3c67676
to
14fdc11
Compare
97187a8
to
9f2bc93
Compare
I also added go:embed this makes it easier for users to fork the default template for their own purposes. |
@jalseth thanks for the merge! Would you be able to tag a new release as well? |
@mrueg The new OPA release was just made, once that is merged we will cut a new release. |
Signed-off-by: James Alseth <[email protected]>
Signed-off-by: James Alseth <[email protected]>
This allows to provide a custom doc template instead of https://github.com/plexsystems/konstraint/blob/main/internal/commands/document_template.go which allows to use different output formats (e.g. custom html website or similar)