Skip to content

Commit

Permalink
docs: add missing title & description page
Browse files Browse the repository at this point in the history
- this is a partial backport of 7a23cb0, specifically only the docs for _existing_ features
  - this is a useful feature that was previously undocumented

Signed-off-by: Anton Gilgur <[email protected]>
(cherry picked from commit a34d989)
  • Loading branch information
Anton Gilgur committed Sep 21, 2024
1 parent 464965c commit 4a521a5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ v3.3
v3.3.
v3.4
v3.4.
v3.4.4
validator
versioning
webHDFS
Expand Down
Binary file added docs/assets/workflow-title-and-description.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/title-and-description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Title and Description

> v3.4.4 and after
You can add the `workflows.argoproj.io/title` and `workflows.argoproj.io/description` annotations to a Workflow to display in the workflow lists:

```yaml
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: my-wf
annotations:
workflows.argoproj.io/title: 'Build and test' # defaults to `metadata.name` if not specified
workflows.argoproj.io/description: 'SuperDuperProject PR #6529: Implement frobbing (aff39ee)'
```
The above manifest will render as a row like the below image:
![Title and Description Example](assets/workflow-title-and-description.png)
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ nav:
- artifact-visualization.md
- widgets.md
- intermediate-inputs.md
- title-and-description.md
- Debugging Tools:
- workflow-events.md
- debug-pause.md
Expand Down

0 comments on commit 4a521a5

Please sign in to comment.