Migrate docs shell samples to asciinema

- Update antora settings
- Move cast files and remove old ones
- Switch shell svg's to asciinema
- Fixes #884
This commit is contained in:
Janne Valkealahti
2023-10-14 15:45:09 +01:00
parent 52b242dcbf
commit 860c8dcb93
26 changed files with 49 additions and 65 deletions

View File

@@ -1,7 +1,7 @@
[[using-shell-components-ui-pathinput]]
= Path Input
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
The path input component asks a user for a `Path` and gives additional information about a path itself.
@@ -10,9 +10,12 @@ The path input component asks a user for a `Path` and gives additional informati
include::{snippets}/UiComponentSnippets.java[tag=snippet4]
----
The following image shows typical output from a path input component:
The following screencast shows typical output from a path input component:
image::component-path-input-1.svg[text input]
[asciinema,rows=6]
----
include::example$component-path-input-1.cast[]
----
The context object is `PathInputContext`. The following table describes its context variables: