Help Configuration
The help configuration is used to configure the help system. The configuration is stored in the config/help.yaml
file.
Example:
windowWidth: 400px
enabled: true
sticky: false
contexts:
default:
- name: Chat Agent
action: ai
- name: Documentation
action: docs
document: index
- name: Kubernetes
action: link
href: https://kubernetes.io/docs/home/
The property windowWidth
defines the width of the help window. The property enabled
defines if the help system
is enabled. The property contexts
defines the help entries.
Each entry has a name
and an action
. It presents an entry in the help menu. If the action
is not available
it will be ignored.
The action
can be one of the following:
ai
- open the chat agent in the help systemdocs
- open a document in the help systemlink
- open a link in the system browseryaml-snippets
- opens a snippet view for the resource create panel.
The ai
supports the following properties:
model
- the model to useprompt
- the initial prompt
Snippet views are used to provide public snippets from a git repository. The create
action supports the following properties:
repo
- the git repository urlpath
- the path to the snippet directorybranch
- the branch to use (optional, default is main)useStrategy
- the strategy to use content in a panel (optional, default isreplace
)