docs(self-hosted): document per-deployment runtime env values, drop --only-deps - #6799
Merged
Merged
Conversation
…-only-deps Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1788221707-self-hosted-runtime-env.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devalog
approved these changes
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the deferred env var substitution shipped in fern-platform#14306 and fern#17578, and removes the deprecated
fern-generate --only-depsruntime-generation flow from the self-hosted docs.New Per-deployment values section on the self-hosted setup page, written around the customer-facing path: write the value as
${VAR}withsubstitute-env-varsand list its name inFERN_RUNTIME_ENV_VARSat build time, and generation rewrites it to aFERN_SELF_HOSTED_ENV_<NAME>placeholder that the container resolves from its own environment on each request. Also notes thaturl/custom-domainalways resolve at build time, that Markdown/llms.txtand search results are substituted too, that a runtime value may include or omit a scheme, and that an unlisted or unset name renders as the literal placeholder.FERN_RUNTIME_ENV_VARSadded to the env var table.Removals: the
### Runtime generationsection, the "vendor dependencies for runtime generation" air-gapped accordion (Option 3 renumbered to Option 2), and the commented--only-depsalternative in the remaining Dockerfile examples. Build-timeRUN fern-generateguidance is unchanged. Translations still carry the old text and are left to the nightly sync.Plus a changelog entry (merged alongside the search-metadata entry for the same date).
Testing
pre-commit run --files <changed>: vale passed, 0 errors on the self-hosted page and changelog.fern check --warnings: 0 errors; the 12 warnings are pre-existing (unrelated API path conflicts, generator config MDX parse warnings, FDR unreachable).rg "only-deps|skip-deps|runtime generation"overfern/**/*.mdx(excluding translations): no matches.Link to Devin session: https://app.devin.ai/sessions/48343062b0d241d1b2319f33603aa999
Open in Devin Desktop: https://app.devin.ai/desktop/session/48343062b0d241d1b2319f33603aa999?variant=devin
Requested by: @Ryan-Amirthan