Major Changes
-
9ef047d: Pre-bundle page urls into raw pages.
This means you don't need
getPageUrl
anymore for built-in adapters, includingnext-docs-mdx
and Contentlayer. It is now replaced by theurl
property from the pages array provided by your adapter.Due to this change, your old configuration might not continues to work.
import { fromMap } from 'next-docs-mdx/map' fromMap({ - slugs: ... + getSlugs: ... })
For Contentlayer, the
getUrl
option is now moved tocreateConfig
.