-
Notifications
You must be signed in to change notification settings - Fork 63
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: Config reference documentation autogeneration #2033
base: main
Are you sure you want to change the base?
Conversation
Test Details: go/deco-tests/12401106836 |
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
md "github.com/nao1215/markdown" | ||
) | ||
|
||
const ( |
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.
These templates are in this repo temporary to simplify the process of docs updating
This can be further improved by using include
declarations in doc repo so we could generate only meaningful part here and store the wrapper file in docs repo
type annotationHandler struct { | ||
// Annotations read from all annotation files including all overrides | ||
parsedAnnotations annotationFile | ||
parsedAnnotations annotation.File |
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.
Moved annotations to separate package but yaml files kept as is to avoid messy conflicts. Will move them right before merging
Changes
Documentation autogeneration tool. This tool uses same annotations_*.yml files as in json-schema
Result will go there and there
Tests
Manually