From 17d0b3b89a555693a69093c43510a0c32d816c1a Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 3 Aug 2023 11:11:13 -0500 Subject: [PATCH] Remove includes --- .../modules/ROOT/pages/appendices-techical-intro.adoc | 7 ------- .../modules/ROOT/pages/appendices-tui.adoc | 7 ------- spring-shell-docs/modules/ROOT/pages/appendices.adoc | 3 --- .../modules/ROOT/pages/getting-started.adoc | 2 -- spring-shell-docs/modules/ROOT/pages/index.adoc | 4 ---- .../modules/ROOT/pages/using-shell-basics.adoc | 1 - .../ROOT/pages/using-shell-commands-builtin.adoc | 8 -------- .../pages/using-shell-commands-exceptionhandling.adoc | 3 --- .../ROOT/pages/using-shell-commands-registration.adoc | 3 --- .../modules/ROOT/pages/using-shell-commands.adoc | 9 --------- .../modules/ROOT/pages/using-shell-components-ui.adoc | 7 ------- .../modules/ROOT/pages/using-shell-components.adoc | 2 -- .../modules/ROOT/pages/using-shell-customization.adoc | 4 ---- .../modules/ROOT/pages/using-shell-options-basics.adoc | 3 --- .../modules/ROOT/pages/using-shell-options.adoc | 10 ---------- .../modules/ROOT/pages/using-shell-testing.adoc | 2 -- .../modules/ROOT/pages/using-shell-tui-views.adoc | 2 -- .../modules/ROOT/pages/using-shell-tui.adoc | 2 -- spring-shell-docs/modules/ROOT/pages/using-shell.adoc | 10 ---------- 19 files changed, 89 deletions(-) diff --git a/spring-shell-docs/modules/ROOT/pages/appendices-techical-intro.adoc b/spring-shell-docs/modules/ROOT/pages/appendices-techical-intro.adoc index 5265ecbd..2b7291b3 100644 --- a/spring-shell-docs/modules/ROOT/pages/appendices-techical-intro.adoc +++ b/spring-shell-docs/modules/ROOT/pages/appendices-techical-intro.adoc @@ -5,16 +5,9 @@ This appendix contains information for developers and others who would like to know more about how Spring Shell works internally and what its design decisions are. -include::appendices-techical-intro-registration.adoc[] -include::appendices-techical-intro-parser.adoc[] -include::appendices-techical-intro-execution.adoc[] -include::appendices-techical-intro-commandcontext.adoc[] -include::appendices-techical-intro-commandcatalog.adoc[] -include::appendices-techical-intro-theming.adoc[] -include::appendices-techical-intro-searchalgorithm.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/appendices-tui.adoc b/spring-shell-docs/modules/ROOT/pages/appendices-tui.adoc index 33a00e7c..84dc6963 100644 --- a/spring-shell-docs/modules/ROOT/pages/appendices-tui.adoc +++ b/spring-shell-docs/modules/ROOT/pages/appendices-tui.adoc @@ -8,16 +8,9 @@ This is a technical introduction to _UI Framework_. _UI Framework_ is a toolkit to build rich console apps. -include::appendices-tui-control.adoc[] -include::appendices-tui-view.adoc[] -include::appendices-tui-eventloop.adoc[] -include::appendices-tui-screen.adoc[] -include::appendices-tui-keyhandling.adoc[] -include::appendices-tui-mousehandling.adoc[] -include::appendices-tui-catalog.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/appendices.adoc b/spring-shell-docs/modules/ROOT/pages/appendices.adoc index ba48fdfe..139597f9 100644 --- a/spring-shell-docs/modules/ROOT/pages/appendices.adoc +++ b/spring-shell-docs/modules/ROOT/pages/appendices.adoc @@ -1,5 +1,2 @@ -include::appendices-techical-intro.adoc[] -include::appendices-debugging.adoc[] -include::appendices-tui.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/getting-started.adoc b/spring-shell-docs/modules/ROOT/pages/getting-started.adoc index 25003f3c..772dd012 100644 --- a/spring-shell-docs/modules/ROOT/pages/getting-started.adoc +++ b/spring-shell-docs/modules/ROOT/pages/getting-started.adoc @@ -82,7 +82,6 @@ Once compiled it can be run either in interactive mode: ==== [source, text, subs=attributes+] ---- -include::code/getting-started-run-interactive.out[] ---- ==== @@ -91,7 +90,6 @@ Or in non-interactive mode: ==== [source, text, subs=attributes+] ---- -include::code/getting-started-run-noninteractive.out[] ---- ==== diff --git a/spring-shell-docs/modules/ROOT/pages/index.adoc b/spring-shell-docs/modules/ROOT/pages/index.adoc index e41b82f1..9ee50e01 100644 --- a/spring-shell-docs/modules/ROOT/pages/index.adoc +++ b/spring-shell-docs/modules/ROOT/pages/index.adoc @@ -16,10 +16,6 @@ others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically._ -include::introduction.adoc[] -include::getting-started.adoc[] -include::using-shell.adoc[] -include::appendices.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-basics.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-basics.adoc index e9518522..23a3aa69 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-basics.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-basics.adoc @@ -14,4 +14,3 @@ Essentially, a few things needs to happen before you have a working Spring Shell You can get a full working Spring Shell application without defining any user-level commands as some basic built-in commands (such as `help` and `history`) are provided. -include::using-shell-basics-reading.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc index 09080881..8616dbb8 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc @@ -1,18 +1,10 @@ [[built-in-commands]] = Built-In Commands -include::using-shell-commands-builtin-help.adoc[] -include::using-shell-commands-builtin-clear.adoc[] -include::using-shell-commands-builtin-exit.adoc[] -include::using-shell-commands-builtin-stacktrace.adoc[] -include::using-shell-commands-builtin-script.adoc[] -include::using-shell-commands-builtin-history.adoc[] -include::using-shell-commands-builtin-completion.adoc[] -include::using-shell-commands-builtin-version.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc index d1c220bb..cf7cd2c7 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc @@ -13,8 +13,5 @@ this mostly relates when a command is run on a non-interactive mode meaning one is always executed once with an instance of a `spring-shell`. Take a note that _exit code_ always relates to non-interactive shell. -include::using-shell-commands-exceptionhandling-resolving.adoc[] -include::using-shell-commands-exceptionhandling-mappings.adoc[] -include::using-shell-commands-exceptionhandling-annotation.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc index 1b9bcb9d..382b83c4 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc @@ -16,8 +16,5 @@ and removed. Secondly so that we're able to provide same set of features than us `CommandRegistration`. Creating new a annotation model allows us to rethink and modernise that part without breaking existing applications. -include::using-shell-commands-registration-programmatic.adoc[] -include::using-shell-commands-registration-annotation.adoc[] -include::using-shell-commands-registration-legacyannotation.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc index e8da23dc..73fad946 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc @@ -7,20 +7,11 @@ In this section, we go through an actual command registration and leave command and execution for later in a documentation. You can find more detailed info in <>. -include::using-shell-commands-registration.adoc[] -include::using-shell-commands-organize.adoc[] -include::using-shell-commands-availability.adoc[] -include::using-shell-commands-exceptionhandling.adoc[] -include::using-shell-commands-hidden.adoc[] -include::using-shell-commands-helpoptions.adoc[] -include::using-shell-commands-interactionmode.adoc[] -include::using-shell-commands-builtin.adoc[] -include::using-shell-commands-writing.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-components-ui.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-components-ui.adoc index 9a32f40a..3fa970be 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-components-ui.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-components-ui.adoc @@ -22,16 +22,9 @@ Built-in components generally follow this logic: NOTE: <> gives better interface for defining the flow of components that are better suited for defining interactive command flows. -include::using-shell-components-ui-render.adoc[] -include::using-shell-components-ui-stringinput.adoc[] -include::using-shell-components-ui-pathinput.adoc[] -include::using-shell-components-ui-pathsearch.adoc[] -include::using-shell-components-ui-confirmation.adoc[] -include::using-shell-components-ui-singleselect.adoc[] -include::using-shell-components-ui-multiselect.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-components.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-components.adoc index 615f57a2..a33c779f 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-components.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-components.adoc @@ -6,6 +6,4 @@ you can re-use or extend for your own needs. Components in question are either built-in _commands_ or UI side components providing higher level features within commands itself. -include::using-shell-components-flow.adoc[] -include::using-shell-components-ui.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-customization.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-customization.adoc index 15c654a5..59abca7b 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-customization.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-customization.adoc @@ -3,10 +3,6 @@ This section describes how you can customize the shell. -include::using-shell-customization-styling.adoc[] -include::using-shell-customization-logging.adoc[] -include::using-shell-customization-commandnotfound.adoc[] -include::using-shell-customization-singlecommand.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-options-basics.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-options-basics.adoc index 300e17f2..6782c3ee 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-options-basics.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-options-basics.adoc @@ -7,8 +7,5 @@ This section gives a generic idea how an option can be defined. Following sections, beyond basics, discuss more about how various option behaviour can be accomplished for a particular use case. -include::using-shell-options-basics-programmatic.adoc[] -include::using-shell-options-basics-annotation.adoc[] -include::using-shell-options-basics-legacyannotation.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-options.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-options.adoc index 250507ec..04b0532e 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-options.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-options.adoc @@ -18,22 +18,12 @@ arguments or with programmatically using `CommandRegistration`. NOTE: In below sections `@ShellOption` refer to a _legacy annotation model_ and `@Option` refer to an _annotation model_. -include::using-shell-options-basics.adoc[] -include::using-shell-options-short.adoc[] -include::using-shell-options-arity.adoc[] -include::using-shell-options-positional.adoc[] -include::using-shell-options-optional.adoc[] -include::using-shell-options-default.adoc[] -include::using-shell-options-validation.adoc[] -include::using-shell-options-label.adoc[] -include::using-shell-options-types.adoc[] -include::using-shell-options-naming.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-testing.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-testing.adoc index 9b8e6ae1..8894cc3b 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-testing.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-testing.adoc @@ -16,6 +16,4 @@ Testing cli application is difficult due to various reasons: NOTE: Testing support is currently under development and will be unstable for various parts. -include::using-shell-testing-basics.adoc[] -include::using-shell-testing-settings.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-tui-views.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-tui-views.adoc index 676d758c..2f52d6aa 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-tui-views.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-tui-views.adoc @@ -7,6 +7,4 @@ Framework provides a build-in views which are documented below. TIP: To learn more about views, see <>. -include::using-shell-tui-views-box.adoc[] -include::using-shell-tui-views-list.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell-tui.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell-tui.adoc index 385ebc83..77e38dff 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell-tui.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell-tui.adoc @@ -11,6 +11,4 @@ documentation. TIP: Catalog sample is a good place to study a real application <>. -include::using-shell-tui-intro.adoc[] -include::using-shell-tui-views.adoc[] diff --git a/spring-shell-docs/modules/ROOT/pages/using-shell.adoc b/spring-shell-docs/modules/ROOT/pages/using-shell.adoc index c8497b12..e3c0074c 100644 --- a/spring-shell-docs/modules/ROOT/pages/using-shell.adoc +++ b/spring-shell-docs/modules/ROOT/pages/using-shell.adoc @@ -1,19 +1,9 @@ -include::using-shell-basics.adoc[] -include::using-shell-commands.adoc[] -include::using-shell-options.adoc[] -include::using-shell-completion.adoc[] -include::using-shell-building.adoc[] -include::using-shell-components.adoc[] -include::using-shell-tui.adoc[] -include::using-shell-customization.adoc[] -include::using-shell-execution.adoc[] -include::using-shell-testing.adoc[]