PR previews
offer a way to preview changes from pull requests (PRs) before merging code to a production branch. This is useful for reviewing documentation changes before publishing them to your live documentation site.
Here’s an example of a PR preview
: https://fern-preview-fa86d0dd-7763-4d5f-84d8-6d630dc1742a.docs.buildwithfern.com
Usage
Example
Usage in GitHub Actions
The following is a GitHub Action workflow that generates a preview URL for every pull request.
.github/workflows/preview-docs.yml
Link expiration
Preview links do not expire. However, the time to live (TTL) may be subject to change in the future.