Prerequisites
Bug Description
Two bugs in the Fern docs CI configuration:
-
fern/docs.yml instances.url is missing the basepath — https://aicr.docs.buildwithfern.com should be https://aicr.docs.buildwithfern.com/aicr. Without the basepath, the published site URL is incorrect.
-
publish-fern-docs.yml runs fern generate --docs as a bare command. The published URL is printed to the log but not surfaced as a step summary, making it hard to find after a publish run.
Impact
Medium (workaround exists)
Component
Docs / examples
Regression?
No, this is a new use case
Steps to Reproduce
- Trigger the publish workflow
- Note the published URL in the log — it includes the basepath but
instances.url in docs.yml does not
- Note that no step summary link is generated after publish
Expected Behavior
instances.url includes the /aicr basepath
- Publish step writes
### Published: [url](url) to the GitHub step summary
Actual Behavior
instances.url is https://aicr.docs.buildwithfern.com (missing basepath)
- Publish step output is only in the raw log
Prerequisites
Bug Description
Two bugs in the Fern docs CI configuration:
fern/docs.ymlinstances.urlis missing the basepath —https://aicr.docs.buildwithfern.comshould behttps://aicr.docs.buildwithfern.com/aicr. Without the basepath, the published site URL is incorrect.publish-fern-docs.ymlrunsfern generate --docsas a bare command. The published URL is printed to the log but not surfaced as a step summary, making it hard to find after a publish run.Impact
Medium (workaround exists)
Component
Docs / examples
Regression?
No, this is a new use case
Steps to Reproduce
instances.urlindocs.ymldoes notExpected Behavior
instances.urlincludes the/aicrbasepath### Published: [url](url)to the GitHub step summaryActual Behavior
instances.urlishttps://aicr.docs.buildwithfern.com(missing basepath)