fern icon indicating copy to clipboard operation
fern copied to clipboard

CLI should interpret `slug: /` in path in docs.yml

Open dannysheridan opened this issue 1 year ago • 2 comments

CLI Version (from fern.config.json)

0.50.5

Minimal API Specification

https://github.com/fern-api/fern/pull/5625/files

Actual UI Behavior

Infinite redirect causing Chrome to block request.

Expected UI Behavior

buildwithfern.com/learn

Steps to Reproduce

https://fern-preview-fb56592a-fef3-4bd2-9519-7e05a9f9f9c2.docs.buildwithfern.com/learn

Environment Details

No response

dannysheridan avatar Jan 16 '25 18:01 dannysheridan

I opened a draft PR for this here: https://github.com/fern-api/fern/pull/16080

The PR normalizes configured docs.yml slugs so slug: / is treated as the parent path, with focused resolver/unit coverage. Happy to adjust the approach if there was already a preferred direction or existing work in progress.

shubhamsinnh avatar May 23 '26 17:05 shubhamsinnh

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Nov 20 '26 01:11 github-actions[bot]