Skip to content

Commit 2ee3fff

Browse files
committed
Enable Section Summary TOC for small pages
1 parent d1105f5 commit 2ee3fff

40 files changed

+40
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[appendix]
22
[#appendix-debugging]
33
= Debugging
4+
:page-section-summary-toc: 1
45

56
Please find more info about debugging from https://github.com/spring-projects/spring-shell/wiki/Debugging[project wiki].

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[command-context]]
22
= Command Context
3+
:page-section-summary-toc: 1
34

45
The `CommandContext` interface gives access to a currently running
56
context. You can use it to get access to options:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[command-execution]]
22
= Command Execution
3+
:page-section-summary-toc: 1
34

45
When command parsing has done its job and command registration has been resolved, command execution
56
does the hard work of running the code.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[command-parser]]
22
= Command Parser
3+
:page-section-summary-toc: 1
34

45
Before a command can be executed, we need to parse the command and whatever options the user may have provided. Parsing
56
comes between command registration and command execution.

spring-shell-docs/modules/ROOT/pages/appendices-techical-intro.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[appendix]
22
[#appendix-tech-intro]
33
= Techical Introduction
4+
:page-section-summary-toc: 1
45

56
This appendix contains information for developers and others who would like to know more about how Spring Shell
67
works internally and what its design decisions are.

spring-shell-docs/modules/ROOT/pages/appendices-tui-catalog.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-catalog]
22
= Catalog App
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui-control.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-control]
22
= Control
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui-eventloop.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-eventloop]
22
= EventLoop
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui-keyhandling.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-keyhandling]
22
= Key Handling
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui-mousehandling.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-mousehandling]
22
= Mouse Handling
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui-screen.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-screen]
22
= Screen
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui-view.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[#appendix-tui-view]
22
= View
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/appendices-tui.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[appendix]
22
[#appendix-tech-intro-tui]
33
= Terminal UI
4+
:page-section-summary-toc: 1
45

56
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
67

spring-shell-docs/modules/ROOT/pages/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[spring-shell-reference-documentation]]
22
= Spring Shell Reference Documentation
3+
:page-section-summary-toc: 1
34
Eric Bottard; Janne Valkealahti; Jay Bryant; Corneil du Plessis
45
:doctype: book
56
:hide-uri-scheme:

spring-shell-docs/modules/ROOT/pages/introduction.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[what-is-spring-shell?]]
22
= What is Spring Shell?
3+
:page-section-summary-toc: 1
34

45
Not all applications need a fancy web user interface.
56
Sometimes, interacting with an application through an interactive terminal is

spring-shell-docs/modules/ROOT/pages/using-shell-basics-reading.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-basics-reading]]
22
= Reading Docs
3+
:page-section-summary-toc: 1
34

45
Throughout this documentation, we make references to configuring something by using
56
annotations or programmatic examples.

spring-shell-docs/modules/ROOT/pages/using-shell-basics.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-basics]]
22
= Basics
3+
:page-section-summary-toc: 1
34

45
This section covers the basics of Spring Shell. Before going on to define actual commands and options,
56
we need to go through some of the fundamental concepts of Spring Shell.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands-clear]]
22
= Clear
3+
:page-section-summary-toc: 1
34

45
The `clear` command does what you would expect and clears the screen, resetting the prompt
56
in the top left corner.

spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-completion.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands-completion]]
22
= Completion
3+
:page-section-summary-toc: 1
34

45
The `completion` command set lets you create script files that can be used
56
with am OS shell implementations to provide completion. This is very useful when

spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-exit.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands-exit]]
22
= Exit
3+
:page-section-summary-toc: 1
34

45
The `quit` command (also aliased as `exit`) requests the shell to quit, gracefully
56
closing the Spring application context. If not overridden, a JLine `History` bean writes a history of all

spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-history.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands-history]]
22
= History
3+
:page-section-summary-toc: 1
34

45
The `history` command shows the history of commands that has been executed.
56

spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-script.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands-script]]
22
= Script
3+
:page-section-summary-toc: 1
34

45
The `script` command accepts a local file as an argument and replays commands found there, one at a time.
56

spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin-stacktrace.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands-stacktrace]]
22
= Stacktrace
3+
:page-section-summary-toc: 1
34

45
When an exception occurs inside command code, it is caught by the shell and a simple, one-line message is displayed
56
so as not to overflow the user with too much information.

spring-shell-docs/modules/ROOT/pages/using-shell-commands-builtin.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[built-in-commands]]
22
= Built-In Commands
3+
:page-section-summary-toc: 1
34

45

56

spring-shell-docs/modules/ROOT/pages/using-shell-commands-exceptionhandling.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[dynamic-command-exitcode]]
22
= Exception Handling
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-commands-interactionmode.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[commands-interactionmode]]
22
= Interaction Mode
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-commands-registration.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[registration]]
22
= Registration
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-commands.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[commands]]
22
= Commands
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-components.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-components]]
22
= Components
3+
:page-section-summary-toc: 1
34

45
Components are a set of features which are either build-in or something
56
you can re-use or extend for your own needs. Components in question are

spring-shell-docs/modules/ROOT/pages/using-shell-customization-singlecommand.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-customization-singlecommand]]
22
= Single Command
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-customization.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-customization]]
22
= Customization
3+
:page-section-summary-toc: 1
34

45
This section describes how you can customize the shell.
56

spring-shell-docs/modules/ROOT/pages/using-shell-options-basics-annotation.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-options-basics-annotation]]
22
= Annotation
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-options-basics-programmatic.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[[using-shell-options-basics-registration]]
22
[[using-shell-options-basics-programmatic]]
33
= Programmatic
4+
:page-section-summary-toc: 1
45

56
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
67

spring-shell-docs/modules/ROOT/pages/using-shell-options-basics.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-options-basics]]
22
= Basics
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-testing.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-testing]]
22
= Testing
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-tui-intro.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-tui-intro]]
22
= Introduction
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-tui-views-box.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-tui-views-box]]
22
= BoxView
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-tui-views-list.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-tui-views-list]]
22
= ListView
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-tui-views.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-tui-views]]
22
= Views
3+
:page-section-summary-toc: 1
34

45
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
56

spring-shell-docs/modules/ROOT/pages/using-shell-tui.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-tui]]
22
= Terminal UI
3+
:page-section-summary-toc: 1
34

45
NOTE: Feature is experimental and subject to breaking changes until foundation
56
and related concepts around framework are getting more stable.

0 commit comments

Comments
 (0)