Repository navigation
Document fern/ folder upload and --no-source for guest docs publishes - #7795
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…lishes Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration
Bot
requested review from
jkonrath-postman and
nerminamiller-postman
as code owners
November 8, 2026 17:09
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1794157699-guest-source-upload.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
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
When you publish docs with
fern generate --docs --guest, the CLI now uploads yourfern/folder along with the site. Once you claim the site, connecting a GitHub repository in the Fern Dashboard writes that folder to the repo, opening a pull request if the repo already has commits. People who try Fern without an account can keep going from the guest site to a GitHub-backed project without rebuilding or copying their config by hand. If you don't want your source uploaded,--no-sourceturns the upload off.Implements docs for: feat(cli): upload the fern/ folder with a guest docs publish so a claimed site can be connected to GitHub (fern-api/fern#18821)
Pages changed
cli-api-reference/pages/docs-commands.mdx: adds[--no-source]to thefern generate --docsusage line. Theguestsection now covers the folder upload: it only applies to production guest publishes (not--preview); git-ignored files plus.env/.env.*,.guest-session,.git,node_modulesand.DS_Storeare left out; above 20 MB or 5,000 files the upload is skipped with a warning and the publish still goes through; and--no-sourceopts out.cli-api-reference/pages/general-commands.mdx(fern claim): one sentence saying that connecting a GitHub repo after claiming adds the uploaded folder.dashboard/pages/github-repo.mdx: one sentence on what connecting a repo does for a site claimed from a guest publish.home/pages/fern-instructions/new-site.mdx(agent instructions): adds a Guest sessions bullet on the upload and--no-source, a rule to checkfern/for secrets that git doesn't ignore before a guest publish, and reference links. I checked the other instruction pages that mention--guest(docs/publish.mdx,overview.mdx,automate.mdx,troubleshoot.mdx). None of their steps change.The exclusion list, limits and preview-only condition come from
docsSourceArchive.ts/runRemoteGenerationForDocsWorkspace.tsin fern-api/fern. The CLI changelog is not edited because it's auto-generated.fern check --warningsreports 0 errors.Link to Devin session: https://app.devin.ai/sessions/a5677c5455404a20ae29f15dbe3cd33a
Open in Devin Desktop: https://app.devin.ai/desktop/session/a5677c5455404a20ae29f15dbe3cd33a?variant=devin