Skip to content

Commit 5deea77

Browse files
authored
docs: added previews: false to the documentation
1 parent a824f15 commit 5deea77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/tutorialkit.dev/src/content/docs/reference/configuration.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ The `Preview` type has the following shape:
230230
type Preview =
231231
| number
232232
| string
233+
| false
233234
| [port: number, title: string]
234235
| [port: number, title: string, pathname: string]
235236
| { port: number, title: string, pathname?: string }
@@ -242,6 +243,7 @@ Example value:
242243
previews:
243244
- 3000 # Preview is on :3000/
244245
- "3001/docs" # Preview is on :3001/docs/
246+
- false # do not show peview panel
245247
- [3002, "Dev Server"] # Preview is on :3002/. Displayed title is "Dev Server".
246248
- [3003, "Dev Server", "/docs"] # Preview is on :3003/docs/. Displayed title is "Dev Server".
247249
- { port: 3004, title: "Dev Server" } # Preview is on :3004/. Displayed title is "Dev Server".

0 commit comments

Comments
 (0)