Skip to content

Commit

Permalink
WIP: multiline description
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewinne committed Dec 19, 2023
1 parent 793820e commit 3c7303b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions create-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,7 @@ create_cluster ---> cluster_kubeconfig
| nodes | | False | Number of nodes to provision |
| instance-type | | False | Instance type to provision |
| timeout-minutes | 20 | False | Time to wait for the cluster to have a status of `running` |
| tags | | False | Tags to assign to the cluster.
Example:
```
tags: |
- key: "department"
value: "engineering"
```
|
| tags | | False | Tags to assign to the cluster.<br>Example:<br>```<br>tags: |<br> - key: "department"<br> value: "engineering"<br>```<br> |
| kubeconfig-path | | False | If specified, the kubeconfig will be written to this path |
| export-kubeconfig | false | False | Export the KUBECONFIG variable (true/false) |

Expand Down
2 changes: 1 addition & 1 deletion docs/generate-readme/action-to-mermaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def generate_inputs(action_yaml_file):
defaultVal = data['inputs'][input_name]['default'] if 'default' in data['inputs'][input_name] else ""
requiredVal = data['inputs'][input_name]['required'] if 'required' in data['inputs'][input_name] else True
descriptionVal = data['inputs'][input_name]['description'] if 'description' in data['inputs'][input_name] else ""
inputs += "| " + input_name + " | " + defaultVal + " | " + str(requiredVal) + " | " + descriptionVal + " |\n"
inputs += "| " + input_name + " | " + defaultVal + " | " + str(requiredVal) + " | " + descriptionVal.replace('\n','<br>') + " |\n"

return inputs

Expand Down

0 comments on commit 3c7303b

Please sign in to comment.