Skip to content

Commit c0e7c51

Browse files
committed
Update mode page
1 parent 142267f commit c0e7c51

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

page.mdx

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,6 @@ description: "Setting the title and metadata for navigation and SEO"
4141
---
4242
```
4343

44-
## API Pages
45-
46-
API pages let you build interactive API playgrounds. To create an API page, you
47-
must set an `api` or `openapi` property in the page metadata.
48-
49-
Learn more about API playgrounds in [our demo](/api-playground).
50-
51-
<CodeGroup>
52-
53-
```md Schema
54-
api or openapi: method endpoint
55-
```
56-
57-
```md API Example
58-
api: "GET /users"
59-
```
60-
61-
```md OpenAPI Example
62-
openapi: "GET /users"
63-
```
64-
65-
</CodeGroup>
66-
6744
## Descriptions
6845

6946
You can show a description that shows directly under the title with the
@@ -102,6 +79,29 @@ iconType: "solid"
10279
---
10380
```
10481

82+
## API Pages
83+
84+
API pages let you build interactive API playgrounds. To create an API page, you
85+
must set an `api` or `openapi` property in the page metadata.
86+
87+
Learn more about API playgrounds in [our demo](/api-playground).
88+
89+
<CodeGroup>
90+
91+
```md Schema
92+
api or openapi: method endpoint
93+
```
94+
95+
```md API Example
96+
api: "GET /users"
97+
```
98+
99+
```md OpenAPI Example
100+
openapi: "GET /users"
101+
```
102+
103+
</CodeGroup>
104+
105105
## Page Mode
106106

107107
The Page Mode setting allows you to customize the appearance of your page. You can choose from
@@ -122,7 +122,7 @@ title: "Page with no ToC"
122122

123123
### Wide Mode
124124

125-
In *Wide Mode*, you can hide the table of contents (ToC) on the right side of the page. This is
125+
In Wide Mode, you can hide the table of contents (ToC) on the right side of the page. This is
126126
particularly useful if your page doesn’t have any headings or if you prefer to utilize the
127127
extra horizontal space for other content.
128128

@@ -135,7 +135,7 @@ mode: "wide"
135135

136136
### Custom Mode
137137

138-
*Custom Mode* provides a minimalist layout by removing all elements except for the top bar.
138+
Custom Mode provides a minimalist layout by removing all elements except for the top bar.
139139
This mode offers a blank canvas, which is ideal for creating a "landing page" or any page where
140140
you want a clean, distraction-free environment.
141141

@@ -148,7 +148,7 @@ mode: "custom"
148148

149149
### Center Mode
150150

151-
*Center Mode* removes the sidebar and the table of contents, and centers the page content. This mode is great for changelogs
151+
Center Mode removes the sidebar and the table of contents, and centers the page content. This mode is great for changelogs
152152
or any page where you want to focus on the content.
153153

154154

0 commit comments

Comments
 (0)