diff --git a/fern/products/docs/pages/getting-started/preview-changes-locally.mdx b/fern/products/docs/pages/getting-started/preview-changes-locally.mdx index 6cae1512c..a88cb5027 100644 --- a/fern/products/docs/pages/getting-started/preview-changes-locally.mdx +++ b/fern/products/docs/pages/getting-started/preview-changes-locally.mdx @@ -8,7 +8,7 @@ Fern offers two ways to preview changes to your documentation: a [local developm ## Local development -Fern allows you to view changes to your documentation in a locally-hosted environment. +Fern enables you to view changes to your documentation in a locally hosted environment. **Prerequisite**: Please install Node.js (version 18 or higher) before proceeding. @@ -45,18 +45,17 @@ Some features (e.g. search) are disabled in the local development environment, i ### Custom ports -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, -use this command: +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: ```bash -fern docs dev --port 3333 +fern docs dev --port 3002 ``` If you attempt to run Fern on a port that's already in use, it will use the next available port: ## Generate a preview link -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). +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). **Usage**: @@ -70,8 +69,8 @@ fern generate --docs --preview fern generate --docs --preview [docs]: Found 0 errors and 1 warnings. Run fern check --warnings to print out the warnings. -[docs]: Published docs to https://fern-preview-a1da0157-93ca-4b1f-b310-8dd34fb891ca.docs.buildwithfern.com +[docs]: Published docs to https://fern-preview-c973a36e-337b-44f5-ab83-aab.docs.buildwithfern.com/learn ┌─ │ ✓ docs.example.com └─ -``` \ No newline at end of file +```