Publishing your docs
When you are ready for your docs to be publicly accessible, you can publish them using the Fern CLI.
Usage
Example
Usage in GitHub Actions
To automate the publishing process, you can use a GitHub Action workflow to publish your docs when a push is made to the main
branch. Be sure to add the FERN_TOKEN
for your organization to the repository.
.github/workflows/publish-docs.yml
Hosting
When you publish your docs, Fern takes care of hosting them for you. To publish your docs to a custom domain, check out our docs here.
Self-hosting your docs
This feature is available on the Enterprise plan. Contact us to learn more.
If you need access to your docs offline or would like to host your docs on your own server, Fern offers that option as well. Self-hosted docs have limited access to certain features (including search).