Skip to content

Commit 9901775

Browse files
committed
Update doc card spec to place markup in first sentence
1 parent d971831 commit 9901775

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

demo/examples/tests/docCards.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ paths:
66
/docs:
77
get:
88
summary: Doc card operation
9-
description: |
10-
Returns documentation.
11-
Supports **markdown** and <b>HTML</b> in descriptions.
9+
description: >
10+
Returns documentation with **markdown** and <b>HTML</b> in descriptions.
1211
tags:
1312
- docCards
1413
responses:

packages/docusaurus-plugin-openapi-docs/src/openapi/__fixtures__/docCards/openapi.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ paths:
66
/docs:
77
get:
88
summary: Doc card operation
9-
description: |
10-
Returns documentation.
11-
Supports **markdown** and <b>HTML</b> in descriptions.
9+
description: >
10+
Returns documentation with **markdown** and <b>HTML</b> in descriptions.
1211
tags:
1312
- docCards
1413
responses:

0 commit comments

Comments
 (0)