Skip to content

Commit 9a5f189

Browse files
committed
Update docs
1 parent 2e95fcc commit 9a5f189

File tree

17 files changed

+30
-24
lines changed

17 files changed

+30
-24
lines changed

spring-shell-docs/modules/ROOT/nav.adoc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* xref:index.adoc[Overview]
22
* xref:getting-started.adoc[]
3-
* xref:using-shell-basics.adoc[]
4-
** xref:using-shell-basics-reading.adoc[]
3+
* xref:basics/index.adoc[]
4+
** xref:basics/reading.adoc[]
55
* xref:commands/index.adoc[]
66
** xref:commands/registration/index.adoc[]
77
** xref:commands/registration/programmatic.adoc[]
@@ -72,18 +72,18 @@
7272
** xref:customization/singlecommand.adoc[]
7373
** xref:customization/contextclose.adoc[]
7474
* xref:using-shell-execution.adoc[]
75-
* xref:using-shell-testing.adoc[]
76-
** xref:using-shell-testing-basics.adoc[]
77-
** xref:using-shell-testing-settings.adoc[]
75+
* xref:testing/index.adoc[]
76+
** xref:testing/basics.adoc[]
77+
** xref:testing/settings.adoc[]
7878
* Appendices
79-
** xref:appendices-techical-intro.adoc[]
80-
*** xref:appendices-techical-intro-registration.adoc[]
81-
*** xref:appendices-techical-intro-parser.adoc[]
82-
*** xref:appendices-techical-intro-execution.adoc[]
83-
*** xref:appendices-techical-intro-commandcontext.adoc[]
84-
*** xref:appendices-techical-intro-commandcatalog.adoc[]
85-
*** xref:appendices-techical-intro-theming.adoc[]
86-
*** xref:appendices-techical-intro-searchalgorithm.adoc[]
79+
** xref:appendices/techintro/index.adoc[]
80+
*** xref:appendices/techintro/registration.adoc[]
81+
*** xref:appendices/techintro/parser.adoc[]
82+
*** xref:appendices/techintro/execution.adoc[]
83+
*** xref:appendices/techintro/commandcontext.adoc[]
84+
*** xref:appendices/techintro/commandcatalog.adoc[]
85+
*** xref:appendices/techintro/theming.adoc[]
86+
*** xref:appendices/techintro/searchalgorithm.adoc[]
8787
** xref:appendices-debugging.adoc[]
8888
** xref:appendices/tui/index.adoc[]
8989
*** xref:appendices/tui/viewdev.adoc[]

spring-shell-docs/modules/ROOT/pages/appendices-techical-intro-commandcatalog.adoc renamed to spring-shell-docs/modules/ROOT/pages/appendices/techintro/commandcatalog.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[[command-catalog]]
22
= Command Catalog
33

4+
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
5+
46
The `CommandCatalog` interface defines how command registrations exist in
57
a shell application. It is possible to dynamically register and de-register
68
commands, which gives flexibility for use cases where possible commands

spring-shell-docs/modules/ROOT/pages/appendices-techical-intro-commandcontext.adoc renamed to spring-shell-docs/modules/ROOT/pages/appendices/techintro/commandcontext.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
= Command Context
33
:page-section-summary-toc: 1
44

5+
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
6+
57
The `CommandContext` interface gives access to a currently running
68
context. You can use it to get access to options:
79

spring-shell-docs/modules/ROOT/pages/appendices-techical-intro-execution.adoc renamed to spring-shell-docs/modules/ROOT/pages/appendices/techintro/execution.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
= Command Execution
33
:page-section-summary-toc: 1
44

5+
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
6+
57
When command parsing has done its job and command registration has been resolved, command execution
68
does the hard work of running the code.
File renamed without changes.
File renamed without changes.

spring-shell-docs/modules/ROOT/pages/appendices-techical-intro-registration.adoc renamed to spring-shell-docs/modules/ROOT/pages/appendices/techintro/registration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[#appendix-tech-intro-registration]
22
= Command Registration
33

4-
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
4+
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
55

66
Defining a command registration is a first step to introducing the structure of a command and its options
77
and parameters. This is loosely decoupled from what happens later, such as parsing command-line input and running
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[#appendix-tech-intro-searchalgorithm]
22
= Search Algorithms
33

4-
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
4+
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
55

66
`SearchMatch` is an interface to match _text_ with a _pattern_. Match
77
results are in a returned value `SearchMatchResult`. Match result

spring-shell-docs/modules/ROOT/pages/appendices-techical-intro-theming.adoc renamed to spring-shell-docs/modules/ROOT/pages/appendices/techintro/theming.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[#appendix-tech-intro-theming]
22
= Theming
33

4-
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
4+
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
55

66
Styling in a theming is provided by a use of a _AttributedString_ from `JLine`.
77
Unfortunately styling in `JLine` is mostly undocumented but we try to go through
File renamed without changes.

0 commit comments

Comments
 (0)