github-actions
released this
17 Nov 19:15
·
20 commits
to main
since this release
Major Changes
- 8a0ae0f: - add root
_meta.global.{js,jsx,ts,tsx}
fileSee
working example
based on https://nextra.site websitegetPageMap
now receive only 1 argumentroot?: string = '/'
instead of 2
lang?: string, route?: string = '/'
- remove
createCatchAllMeta
fromnextra/catch-all
- remove
collectCatchAllRoutes
- remove
normalizePageRoute
- add
mergeMetaWithPageMap
tonextra/page-map
- move adding
metadata.filePath
,metadata.title
andmetadata.readingTime
in remark plugin - refactor recma rewrite plugin and add tests
- remove
recmaRewriteJsx
- remove
recmaRewriteFunctionBody
- remove
- make
convertPageMapToJs
sync
Patch Changes
- 5e06f57: fix injecting mdx-components into headings and injecting into toc