From 189794b0efca57a14fca8c378ef7dc8ae19bd529 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Tue, 14 Jun 2022 20:01:52 +0100 Subject: [PATCH] Update docs - Remove and fix content with wrong links. - Relates #433 --- .../src/main/asciidoc/using-shell-components-builtin.adoc | 7 +------ .../src/main/asciidoc/using-shell-customization.adoc | 2 -- .../src/main/asciidoc/using-shell-options-validation.adoc | 8 -------- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-components-builtin.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-components-builtin.adoc index 36db1eaa..642f77ae 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-components-builtin.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-components-builtin.adoc @@ -1,11 +1,6 @@ [[built-in-commands]] ==== Built-In Commands -Any application built by using the `{starter-artifactId}` artifact -(which equates to the `spring-shell-standard-commands` dependency) comes with a set of built-in commands. -You can override or disable these commands individually (see <>). -However, if they are not overridden or disabled, this section describes their behavior. - [[help-command]] ===== Help @@ -92,7 +87,7 @@ in the top left corner. The `quit` command (also aliased as `exit`) requests the shell to quit, gracefully closing the Spring application context. If not overridden, a JLine `History` bean writes a history of all -commands to disk, so that they are available again (see <>) on the next launch. +commands to disk, so that they are available again on the next launch. ===== Stacktrace diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-customization.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-customization.adoc index f0b7a655..50d63515 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-customization.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-customization.adoc @@ -3,6 +3,4 @@ This section describes how you can customize the shell. -include::using-shell-customization-generic.adoc[] - include::using-shell-customization-styling.adoc[] diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-options-validation.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-options-validation.adoc index eacbd551..ea397624 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-options-validation.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-options-validation.adoc @@ -26,11 +26,3 @@ The following constraints were not met: --password string : size must be between 8 and 40 (You passed 'hello') ---- ==== - -[NOTE] -.Applies to All Command Implementations -==== -It is important to note that bean validation applies to all command implementations, -whether they use the "`standard`" API or any other API, through the use of an adapter -(see <>). -====