diff --git a/fern/products/docs/pages/changelog/2025-11-02.mdx b/fern/products/docs/pages/changelog/2025-11-02.mdx new file mode 100644 index 000000000..fafcc0cbf --- /dev/null +++ b/fern/products/docs/pages/changelog/2025-11-02.mdx @@ -0,0 +1,33 @@ +## Navbar dropdown menus + +Group related links in your navbar with new dropdown menus. Organize resources, tools, or external links under a single button to keep your header clean. + +```yaml title="docs.yml" +navbar-links: + - type: dropdown + text: Resources # dropdown button text + icon: fa-solid fa-seedling # optional icon + links: + - text: Plant database # link display text + href: https://example.com/plants # destination URL + icon: fa-regular fa-leaf # optional icon + - text: Growing guides + href: https://example.com/guides +``` + +Learn more in the [navbar links configuration documentation](/learn/docs/configuration/what-is-docs-yml#navbar-links-configuration). + +## API Explorer direct requests + +You can now send API Explorer requests directly to your API instead of through Fern's proxy. This is useful for testing Cross-Origin Resource Sharing (CORS) configuration and debugging authentication flows. + +```yaml title="docs.yml" +settings: + disable-explorer-proxy: true +``` + + +Your API must have CORS enabled to allow requests from the documentation domain. + + +Learn more in the [docs.yml reference documentation](/learn/docs/configuration/what-is-docs-yml#settingsdisable-explorer-proxy). diff --git a/fern/products/docs/pages/changelog/2025-11-03.mdx b/fern/products/docs/pages/changelog/2025-11-03.mdx index 0794df7d6..061be33e5 100644 --- a/fern/products/docs/pages/changelog/2025-11-03.mdx +++ b/fern/products/docs/pages/changelog/2025-11-03.mdx @@ -1,3 +1,26 @@ +## Custom icons across your navigation + +You can now use your own image files as icons throughout your `docs.yml` navigation config, including for [navbar link](/learn/docs/configuration/what-is-docs-yml#navbar-links-configuration), [section, page](/learn/docs/configuration/navigation#sidebar-icons), and [product](/learn/docs/configuration/products#add-your-product-configuration) icons. + +Icons now support three formats: +- **Font Awesome icons**: Use icon names like `fa-solid fa-seedling` or `fa-regular fa-leaf`. Pro and Brand icons from Font Awesome are supported. +- **Custom image files**: Use relative paths to custom image files (e.g., `./assets/icons/plant-icon.svg`). Paths are relative to the `docs.yml` file. +- **Inline SVG**: Provide an SVG string wrapped in quotes. + +```yaml Sidebar icons in docs.yml +navigation: + - section: Home + icon: fa-regular fa-home # Font Awesome icon + contents: + - page: Introduction + icon: ./assets/icons/intro-icon.svg # Custom image file + path: ./pages/intro.mdx + - page: Custom Features + icon: "" # Inline SVG + path: ./pages/custom.mdx + - api: API Reference + icon: fa-regular fa-puzzle +``` ## External product links You can now configure products to link to external URLs (separate applications, third-party documentation, or other external resources) instead of documentation within your site.