docs: add /pricing as Ask Fern datasource#5099
Merged
paarthfern merged 1 commit intomainfrom Apr 22, 2026
Merged
Conversation
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Contributor
Author
🤖 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
paarthfern
approved these changes
Apr 22, 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
Adds
https://buildwithfern.com/pricingas anai-search.datasourcesentry infern/docs.ymlso Ask Fern crawls and indexes the marketing-site pricing page alongside/learncontent.Context: asking Ask Fern "pricing" today returns "I wasn't able to find specific pricing information…" followed by a link to
/pricing. The first paragraph is not a configurable default — it's the LLM responding honestly because the pricing page lives on the marketing site (not/learn) and was never in the Ask Fern index. After this change, pricing questions will retrieve the actual pricing page and cite it directly.Alternatives considered:
path_filter— same outcome, more moving parts. Usingdatasourcesis declarative and lives with the rest of the docs config.Review & Testing Checklist for Human
https://buildwithfern.com/pricingis the correct canonical URL to index (vs. a more specific subpath) and that it's OK for Ask Fern to cite it onbuildwithfern.com/learn/*/pricinginstead of the fallback "not found" response/customers,/careers) should be added at the same timeNotes
Schema reference:
datasourcesis defined onAiChatConfiginpackages/cli/configuration/src/docs-yml/DocsYmlSchemas.tsin fern-api/fern, and documented at https://buildwithfern.com/learn/docs/ai-features/ask-fern/content-sources.Link to Devin session: https://app.devin.ai/sessions/1073da69838b4d9da504b641c3da3506
Requested by: @devalog