Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Document external product links feature

Summary

Added documentation for the new feature that allows products in docs.yml to link to external URLs using href instead of path. This enables users to include links to separate applications, third-party documentation, or other external resources directly in their product switcher.

Changes:

  • Added new section "Link to external products" in fern/products/docs/pages/navigation/products.mdx with configuration examples and property descriptions
  • Created changelog entry fern/products/docs/pages/changelog/2025-11-03.mdx announcing the feature
  • Added clarifying sentence that products can be internal or external

Documentation approach: Based on API schema exploration (ExternalProductNode vs InternalProductNode in fern/apis/fdr/definition/navigation/latest/__package__.yml) and code review of the ProductDropdown component implementation.

Review & Testing Checklist for Human

  • Test the feature with real configuration - Create a test docs.yml with an external product using href and verify it appears correctly in the product switcher and navigates to the external URL when clicked
  • Verify YAML examples - Ensure the example configuration in both the main docs and changelog is syntactically correct and follows the actual API schema
  • Check the anchor link - Verify the changelog link to /learn/docs/navigation/products#link-to-external-products resolves correctly when deployed
  • Review property descriptions - Confirm the documented properties (display-name, href, subtitle, icon, image, audiences) are complete and accurate, and that the required/optional designations are correct

Test Plan

  1. Add an external product to a test docs.yml configuration:
    products:
      - display-name: Documentation
        path: ./products/docs.yml
      - display-name: Dashboard
        href: https://dashboard.example.com
        icon: fa-solid fa-chart-line
        subtitle: Analytics dashboard
  2. Run fern docs dev and verify the product switcher displays both products
  3. Click the "Dashboard" product and verify it navigates to the external URL
  4. Test with optional properties (icon, image, subtitle, audiences) to ensure they work as documented

Notes

  • I did not have the ability to test this feature live, so validation against the actual implementation is critical
  • The documentation was written based on the API schema definition and ProductDropdown component code review
  • This feature appears to be recently implemented (productLink type added to ProductNode union)

Link to Devin run: https://app.devin.ai/sessions/258d74b235f243f0a4ce20175315570f
Requested by: Catherine Deskur ([email protected])

Add documentation for the new feature that allows products to link to external URLs using href instead of path. This enables users to include links to separate applications or third-party documentation in their product switcher.

Changes:
- Add new section 'Link to external products' with configuration examples
- Document external product properties (href, display-name, subtitle, icon, image, audiences)
- Add changelog entry for 2025-11-03
- Clarify that products can be internal or external

Co-Authored-By: Catherine Deskur <[email protected]>
@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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

subtitle: Product A subtitle # optional
- display-name: Product B
path: ./products/product-b/versions/latest/latest.yml # <-- default showing latest
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 'latest' that become outdated

subtitle: Product A subtitle # optional
- display-name: Product B
path: ./products/product-b/versions/latest/latest.yml # <-- default showing latest
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 'latest' that become outdated

subtitle: Product A subtitle # optional
- display-name: Product B
path: ./products/product-b/versions/latest/latest.yml # <-- default showing latest
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 'latest' that become outdated

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@chdeskur chdeskur merged commit a6bcf7f into main Nov 3, 2025
2 checks passed
@chdeskur chdeskur deleted the devin/1762181758-document-external-product-links branch November 3, 2025 18:35
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.

3 participants