Skip to content

Add library docs page#3840

Open
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
fern/add-library-docs-page
Open

Add library docs page#3840
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
fern/add-library-docs-page

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Feb 26, 2026

Add library docs page

Summary

Adds a new documentation page for the Library Docs feature (beta) — Fern's ability to generate reference documentation for client libraries directly from source code. The page is placed in the API References > Generation section of the Docs product, alongside the existing REST, Webhook, WebSocket, OpenRPC, gRPC, and GraphQL reference pages.

The page covers:

  • How library docs works (overview of the libraries config → fern docs md generatelibrary nav item workflow)
  • Step-by-step configuration guide
  • Supported languages (Python, C++ — both beta)
  • Configuration reference for libraries (top-level) and library (navigation item)
  • Multi-library example

Content was derived from the Fern CLI schema (docs.yml API definition), fern-platform LibraryDocsService, and CLI changelog entries (v3.42–v3.78).

Updates since last revision

  • Fixed vale lint warnings: removed time-relative terms ("currently", "today") from the beta note.

Review & Testing Checklist for Human

  • Content accuracy: The documented configuration schema and workflow were inferred from source code and changelogs — not from an official product spec. Verify correctness against the actual implementation, especially the libraries config shape, fern docs md generate command behavior, and library navigation item properties.
  • Product alignment: Confirm the product team wants this beta feature publicly documented at this time, and that the framing/scope is appropriate.
  • Placement: The page is in "API References > Generation" — verify this is the right location. Library docs generates from source code (not from OpenAPI/AsyncAPI), so it may belong in its own section or elsewhere.
  • Preview rendering: Verify the page renders correctly at the preview URL — check <Steps>, <Note>, code block highlighting, and markdown tables.

Notes

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@fern-api
Copy link
Contributor

fern-api bot commented Feb 26, 2026

Requested by: paarth
Slack thread: View conversation

Fern can generate reference documentation for your client libraries (e.g., Python SDKs) directly from source code. Library docs are auto-generated MDX pages that document modules, classes, methods, and parameters — rendered as first-class sections in your docs site.

<Note>
Library docs is currently in **beta**. Python and C++ are supported today.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'currently' that become outdated

Fern can generate reference documentation for your client libraries (e.g., Python SDKs) directly from source code. Library docs are auto-generated MDX pages that document modules, classes, methods, and parameters — rendered as first-class sections in your docs site.

<Note>
Library docs is currently in **beta**. Python and C++ are supported today.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'today' that become outdated

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

🌿 Preview your docs: https://fern-preview-e3d803c6-51ca-492c-8963-2585006bbdd4.docs.buildwithfern.com/learn

Here are the markdown pages you've updated:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants