-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Summary
When reading the documentation, and looking for the manifests specifications, I'm often slowed down to figure out the fields and properties of an object.
I propose to auto-generate any object definitions pages and add links to these pages everytime object is specified as the type in the manifests definitions.
Nice to have:
- When reading a sub-object (see basic example bellow), having a "used by" section with links to all the parents objects referencing the one being read.
- An example of configuration (from an existing test or something equivalent).
- How to set up/use autocomplete, linter, code suggestion tool for the updatecli manifest structure.
Basic example
For this example, I wish to configure the credentials to access a private registry.
I need to configure the auths field when configuring my Dockerfile UpdateCli manifest.
To understand the keywords available and format to use, I need to go and read the updatecli code.
Motivation
The documentation (link provided as an example) states Auths provides a map of registry credentials where the key is the registry URL without scheme. If you're not versed into the language (and its constraints or requirement of the parser used) used for configuration it's hard to understand what/how to do things.
Reduce search time and increase accessibility to the various configuration options.
How to address this issue
Generate documentation page for each configuration object/item.
Link from the keyword type to the generated documentation.
Provide a list of links to places where this "object" is used/applicable.
Provide configuration examples.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
