Simple, powerful and flexible site generation framework with everything you love from Next.js.
Simple, powerful and flexible site generation framework with everything you love from Next.js.
Simple, powerful and flexible site generation framework with everything you love from Next.js.
The Nextra repository uses PNPM Workspaces and Turborepo.
Run corepack enable to enable Corepack.
If the command above fails, run
npm install -g corepack@latestto install the latest version of Corepack.
Run pnpm install to install the project's dependencies.
nextrapnpm --filter nextra buildWatch mode: pnpm --filter nextra dev
nextra-theme-docspnpm --filter nextra-theme-docs buildYou can also debug them together with a website locally. For instance, to start
examples/docs locally, run
pnpm --filter example-docs devAny change to example/docs will be re-rendered instantly.
If you update the core or theme packages, a rebuild is required. Or you can use the watch mode for both Nextra and the theme in separated terminals.
The remarkAssignFrontMatter plugin captures lastCommitTime in its closure at compiler-creation time
Nextra 4.6.1 build fails with TypeScript 7: typescript.sys.readFile is undefined
Bug: `<Layout>` always throws "Invalid input: expected nonoptional, received undefined → at children"
Next 16.2.5 support (because of Next.js vulnerability)
Feat: ability to generate docs from repo URL
a11y: theme-switcher button has no accessible name; callout code/links fail 4.5:1 contrast
Pages router: directory/index.mdx renders as a self-referencing folder instead of merging like the sibling-file pattern
Dev-only React 19 warning: `ref` reaches React.Fragment in Search result rendering
v3 to v4 Migration: custom mdxOptions (`remarkPlugins`) support?
Allow custom content above the sidebar navigation tree (For example: product/section switcher)