Major Changes
-
2d8df75: Replace
nav.links
option with secondary linkswhy: A more straightforward API design
migrate:
<DocsLayout + links={[ + { + type: 'secondary', + text: 'Github', + url: 'https://github.com', + icon: <GithubIcon />, + external: true, + }, + ]} - nav={{ - links: [ - { - icon: <GithubIcon />, - href: 'https://github.com', - label: 'Github', - external: true, - }, - ], - }} > {children} </DocsLayout>