-
Notifications
You must be signed in to change notification settings - Fork 3
add descriptions for readme config fields in generators.yml reference #204
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -402,30 +402,39 @@ readme: | |
| ``` | ||
|
|
||
| <ParamField path="readme" type="ReadmeSchema" required={false} toc={true}> | ||
| Configuration for customizing the generated README files. | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.bannerLink" type="string" required={false} toc={true}> | ||
|
||
| URL for a banner image or link that appears at the top of the README. | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.introduction" type="string" required={false} toc={true}> | ||
| Custom introduction text that appears at the beginning of the README. | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.apiReferenceLink" type="string" required={false} toc={true}> | ||
| URL to your external API documentation or reference guide. | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.defaultEndpoint" type="ReadmeEndpointSchema" required={false} toc={true}> | ||
|
||
| Specifies which endpoint's code snippet to showcase as the primary example in the README. | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.defaultEndpoint.method" type="string" required={true} toc={true}> | ||
| HTTP method of the default endpoint (e.g., `GET`, `POST`, `PUT`, `DELETE`). | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.defaultEndpoint.path" type="string" required={true} toc={true}> | ||
| Endpoint path for the default example (e.g., `/users`, `/auth/login`). | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.defaultEndpoint.stream" type="boolean" required={false} toc={true}> | ||
| Whether the endpoint is a streaming endpoint. Defaults to `false`. | ||
| </ParamField> | ||
|
|
||
| <ParamField path="readme.features" type="map<string, list<ReadmeEndpointSchema>>" required={false} toc={true}> | ||
|
||
| Groups endpoints by feature name for organized README sections. Each feature becomes a section in the README with example code snippets for the listed endpoints. | ||
| </ParamField> | ||
|
|
||
| ## default-group | ||
|
|
||
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.
Since
readmeis the top-level option, I think you can actually remove theParamFieldformatting and move the description up above theyamlcode block. (Might need to do some wordsmithing to merge it with the existing description.)