Skip to content

fix: resolve docs generation failures - #3

Merged
thesandlord merged 1 commit into
mainfrom
devin/1777918861-fix-docs-generation
May 4, 2026
Merged

fix: resolve docs generation failures#3
thesandlord merged 1 commit into
mainfrom
devin/1777918861-fix-docs-generation

Conversation

@thesandlord

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing publish-docs CI workflow (run #10) caused by two issues:

  1. Nursery API overlay invalid format: The overlay targeted scalar paths ($.paths./bulk/plants.get.description) with string values, but the OpenAPI Overlay spec requires update values to be objects or arrays. Fixed by targeting the parent object and providing the description as a property.

  2. Orphaned API Reference in stress-test product: The - api: API Reference entry referenced the old fern/definition/ directory which has no generators.yml. In the multi-API structure (with fern/apis/), this causes "Failed to load API Definition" errors. Removed the orphaned entry since API definitions are properly configured in the Garden and Nursery products.

Review & Testing Checklist for Human

  • Verify fern generate --docs passes in CI (the publish-docs workflow should succeed when this merges)
  • Confirm the nursery API overlay still applies the expected description updates to /bulk/plants and /suppliers endpoints

Notes

Verified locally that fern generate --docs --preview succeeds and publishes all 1022 pages across 5 API workspaces.

Link to Devin session: https://app.devin.ai/sessions/14236bb1544445d58ab2e9a9971af688
Requested by: @thesandlord

- Fix nursery-api overlay: target parent objects instead of scalar paths
  (overlay update values must be objects/arrays, not strings)
- Remove orphaned '- api: API Reference' from stress-test product that
  referenced the old fern/definition/ without a generators.yml

Co-Authored-By: Sandeep Dinesh <sandeep@buildwithfern.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 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

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

@thesandlord
thesandlord merged commit 84decc3 into main May 4, 2026
2 checks passed
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.

1 participant