You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/doc-comments-guide.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,20 @@ Documentation of the TypeScript specification is made using [JSDoc](https://jsdo
7
7
The first phrase is used as the mandatory operation summary in the OpenAPI document.
8
8
Refer to [API documentation guidelines](https://docs.elastic.dev/content-architecture/oas#summaries).
9
9
10
-
NOTE: You must add a period or `\n` at the end of the phrase for it to parse correctly.
11
-
The period will be properly omitted from the output OpenAPI document.
10
+
> [!NOTE]
11
+
> You must add a period at the end of the phrase for it to parse correctly. The period will be properly omitted from the output OpenAPI document.
12
12
13
13
Additional lines start with a `*` followed by a space. Long lines are allowed but it's better if text is formatted to a maximum of 120 characters per line.
14
14
15
+
> [!NOTE]
16
+
> A blank line must be inserted between the first sentence and all subsequent lines to ensure correct formatting in all places (e.g. in the in-code documentation of the language clients).
17
+
15
18
## Example
16
19
17
20
```ts
18
21
/**
19
22
* Get ranking evaluation.
23
+
*
20
24
* Enables you to evaluate the quality of ranked search results over a set of typical search queries.
0 commit comments