Skip to content

Commit 369bec6

Browse files
committed
add indentation
1 parent 2d03374 commit 369bec6

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

apps/generator/docs/api_components.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,96 +6,96 @@ weight: 77
66
## Components
77

88
* [CloseConnection](#CloseConnection)`JSX.Element`
9-
9+
1010
Renders a WebSocket close connection method with optional pre- and post-execution logic.
1111

1212
* [Connect](#Connect)`JSX.Element`
13-
13+
1414
Renders a WebSocket connection method for the specified programming language.
1515

1616
* [DependencyProvider](#DependencyProvider)`JSX.Element`
17-
17+
1818
Renders the top-of-file dependency statements for the selected programming language.
1919

2020
* [FileHeaderInfo](#FileHeaderInfo)`JSX.Element`
21-
21+
2222
Renders a file header with metadata information such as title, version, protocol, host, and path.
2323

2424
* [HandleMessage](#HandleMessage)`JSX.Element`
25-
25+
2626
Renders a WebSocket message handler method with optional pre- and post-execution logic.
2727

2828
* [MethodGenerator](#MethodGenerator)`JSX.Element`
29-
29+
3030
Renders a language-specific formatted method definition.
3131

3232
* [Models](#Models)`Array.<File>`
33-
33+
3434
Renders an array of model files based on the AsyncAPI document.
3535

3636
* [OnClose](#OnClose)`JSX.Element`
37-
37+
3838
Renders a WebSocket onClose event handler for the specified programming language.
3939

4040
* [OnError](#OnError)`JSX.Element`
41-
41+
4242
Renders a WebSocket onError event handler for the specified programming language.
4343

4444
* [OnMessage](#OnMessage)`JSX.Element`
45-
45+
4646
Renders a WebSocket onMessage event handler for the specified programming language.
4747

4848
* [OnOpen](#OnOpen)`JSX.Element`
49-
49+
5050
Renders a WebSocket onOpen event handler for the specified programming language.
5151

5252
* [QueryParamsVariables](#QueryParamsVariables)`Array.<JSX.Element>`
53-
53+
5454
Renders query parameter variables code blocks.
5555

5656
* [AvailableOperations](#AvailableOperations)`JSX.Element`
57-
57+
5858
Renders a list of AsyncAPI operations with their headers and message examples.
5959

6060
* [CoreMethods](#CoreMethods)`JSX.Element`
61-
61+
6262
Renders a list of core WebSocket client methods for a given target language.
6363

6464
* [Installation](#Installation)`JSX.Element`
65-
65+
6666
Renders the Installation Command for a given language.
6767

6868
* [MessageExamples](#MessageExamples)`JSX.Element`
69-
69+
7070
Renders Message Examples of a given AsyncAPI operation.
7171

7272
* [OperationHeader](#OperationHeader)`JSX.Element`
73-
73+
7474
Renders a header section for a single AsyncAPI operation.
7575

7676
* [Overview](#Overview)`JSX.Element`
77-
77+
7878
Renders an overview section for a WebSocket client.
7979
Displays the API description, version, and server URL.
8080

8181
* [Readme](#Readme)`JSX.Element`
82-
82+
8383
Renders a README.md file for a given AsyncAPI document. Composes multiple sections (overview, installation, usage, core methods, and available operations) into a single File component based on the provided AsyncAPI document, generator parameters, and target language.
8484

8585
* [Usage](#Usage)`JSX.Element`
86-
86+
8787
Renders a usage example snippet for a generated WebSocket client in a given language.
8888

8989
* [RegisterErrorHandler](#RegisterErrorHandler)`JSX.Element`
90-
90+
9191
Renders a WebSocket error handler registration method with optional pre- and post-execution logic.
9292

9393
* [RegisterMessageHandler](#RegisterMessageHandler)`JSX.Element`
94-
94+
9595
Renders a WebSocket message handler registration method with optional pre- and post-execution logic.
9696

9797
* [SendOperations](#SendOperations)`Array.<JSX.Element>`
98-
98+
9999
Renders WebSocket send operation methods.
100100
Generates both static and instance methods for sending messages through WebSocket connections.
101101

packages/components/jsdoc2md-handlebars/api.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ weight: 77
88
{{#functions}}
99
{{#unless (eq name "ownKeys")}}
1010
* [{{name}}](#{{name}}){{#if returns.length}} ⇒ `{{{escapeType returns.[0].type.names.[0]}}}`{{/if}}
11-
11+
1212
{{{description}}}
1313

1414
{{/unless}}

0 commit comments

Comments
 (0)