Skip to content

Commit e2c488b

Browse files
chore: fix for issue 8316 (#154)
1 parent 2a0fcd3 commit e2c488b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

fern/products/docs/pages/getting-started/preview-changes-locally.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Fern offers two ways to preview changes to your documentation: a [local developm
88

99
## Local development
1010

11-
Fern allows you to view changes to your documentation in a locally-hosted environment.
11+
Fern enables you to view changes to your documentation in a locally hosted environment.
1212

1313
<Info>**Prerequisite**: Please install Node.js (version 18 or higher) before proceeding.</Info>
1414

@@ -45,18 +45,17 @@ Some features (e.g. search) are disabled in the local development environment, i
4545

4646
### Custom ports
4747

48-
By default, Fern uses port 3000. You can customize the port Fern runs on by using the `--port` flag. For example, to run Fern on port 3002,
49-
use this command:
48+
By default, Fern uses port 3000. You can customize the port on which Fern runs by using the `--port` flag. For example, to run Fern on port 3002, use this command:
5049

5150
```bash
52-
fern docs dev --port 3333
51+
fern docs dev --port 3002
5352
```
5453

5554
If you attempt to run Fern on a port that's already in use, it will use the next available port:
5655

5756
## Generate a preview link
5857

59-
Fern allows you to generate a shareable preview link displaying the current state of your docs. Each preview link is appended with a UUID and is not indexed. Currently, these links do not expire (this behavior is subject to change in the future).
58+
Fern allows you to generate a shareable preview link that displays the current state of your docs. Each preview link is appended with a UUID and is not indexed. Currently, these links do not expire (this behavior is subject to change in the future).
6059

6160
**Usage**:
6261

@@ -70,8 +69,8 @@ fern generate --docs --preview
7069
fern generate --docs --preview
7170

7271
[docs]: Found 0 errors and 1 warnings. Run fern check --warnings to print out the warnings.
73-
[docs]: Published docs to https://fern-preview-a1da0157-93ca-4b1f-b310-8dd34fb891ca.docs.buildwithfern.com
72+
[docs]: Published docs to https://fern-preview-c973a36e-337b-44f5-ab83-aab.docs.buildwithfern.com/learn
7473
┌─
7574
│ ✓ docs.example.com
7675
└─
77-
```
76+
```

0 commit comments

Comments
 (0)