nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

MIT License

Downloads
660.7K
Stars
10.6K
Committers
154

Bot releases are visible (Hide)

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • ad7b31b0: downgrade remark-math from 6 to 5.1.1 to fix
    TypeError: Cannot read properties of undefined (reading 'mathFlowInside')
    error

    fix support of ``math lang that was overridden by rehype-pretty-code`

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 3e5e1153: fix showing toggle sidebar button when darkmode is turned off and
    i18n was not set
  • Updated dependencies [ee02a483]
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • ee02a483: fix Property 'existsSync' does not exist on type
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Minor Changes

  • 7aec7bb5: add primarySaturation theme option
  • a55e4aa4: update npm2yarn, add bun tab

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Major Changes

  • 919fe977: set "peerDependencies.next": ">=13"

  • eca75354: - remove Steps, Callout, Tabs, Tab, Cards, Card,
    FileTree exports, export them now from nextra/components

    • remove useMDXComponents export, export it now from nextra/mdx
    • set by default sidebar.toggleButton to true
  • f2dd18d2: - rename theme config options

    i18n.texti18n.name

    banner.textbanner.content

    editLink.texteditLink.content

    footer.textfooter.content

  • 8c1b9d53: remove <MatchSorterSearch />

Minor Changes

  • 0fe55db2: add import { useRouter } from 'nextra/hooks' for fetching locale
    and defaultLocale

Patch Changes

  • 80c9764b: ensure zod is removed from production build with /* @__PURE__ */
    comments
  • Updated dependencies [0fe55db2]
  • Updated dependencies [50a52fd1]
  • Updated dependencies [919fe977]
  • Updated dependencies [ad4823d9]
  • Updated dependencies [ab07609c]
  • Updated dependencies [2f3be336]
  • Updated dependencies [66cce1d1]
  • Updated dependencies [d8a406b4]
  • Updated dependencies [576cb6f1]
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Major Changes

  • 16ab7f78: - remove legacyBehavior from NextLink

    • remove config.cusdis. Instead, now you need to pass cusdis options as
      props in Cusdis component
  • 919fe977: set "peerDependencies.next": ">=13"

Patch Changes

  • Updated dependencies [0fe55db2]
  • Updated dependencies [50a52fd1]
  • Updated dependencies [919fe977]
  • Updated dependencies [ad4823d9]
  • Updated dependencies [ab07609c]
  • Updated dependencies [2f3be336]
  • Updated dependencies [66cce1d1]
  • Updated dependencies [d8a406b4]
  • Updated dependencies [576cb6f1]
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Major Changes

  • 50a52fd1: - ❌ remove _app.mdx, use _app.{js,jsx} or _app.{ts,tsx} for
    TypeScript projects instead

    • ❌ remove Nextra middleware nextra/locales
    • ❌ remove parseFileName from nextra/utils
    • ❌ remove nextra/filter-route-locale
    • ❌ remove resolvePageMap and pageMapCache from nextra/page-map
    • ❌ remove __nextraPageOptions.pageNextRoute
    • ❌ remove pageOpts.route and pageOpts.newNextLinkBehavior
    • ❌ remove LoaderOptions.defaultLocale
    • ❌ remove __nextra_internal__.context[route].themeConfig
    • ✅ add nextra/fetch-filepaths-from-github
    • save pageMap to .next/static/chunks/nextra-page-map-{locale}.mjs
    • save fileMap to .next/static/chunks/nextra-file-map.mjs
  • 919fe977: set "peerDependencies.next": ">=13"

  • ad4823d9: add zod validation for nextraConfig

  • ab07609c: remove locale and defaultLocale from normalizePages

  • 2f3be336: - set "engines.node": ">=18"

    • remove Tab export, use Tabs.Tab instead
    • remove Card export, use Cards.Card instead
    • disallow import md/mdx files that are outside the working directory, use
      symlinks instead
  • 66cce1d1: BREAKING bundle to ESM only

    ⚠️⚠️⚠️ use next.config.mjs or next.config.js with "type": "module"

  • 576cb6f1: - rename nextraConfig.flexsearch to nextraConfig.search

Minor Changes

  • 0fe55db2: add import { useRouter } from 'nextra/hooks' for fetching locale
    and defaultLocale

Patch Changes

  • d8a406b4: add "sideEffects": false for better tree-shaking
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • ffb6d808: - Fix
    TypeError: Cannot read properties of null (reading 'classList') while
    navigating to route that doesn't have toc with router.push for example

    • Add alias Tabs.Tab to Tab component
    • Add alias Cards.Card to Card component
    • should not attach custom heading id as id attribute if parent is Tabs.Tab
      or Tab
    • should not save to toc list headings of level 1
  • Updated dependencies [ffb6d808]

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • ffb6d808: - Fix
    TypeError: Cannot read properties of null (reading 'classList') while
    navigating to route that doesn't have toc with router.push for example

    • Add alias Tabs.Tab to Tab component
    • Add alias Cards.Card to Card component
    • should not attach custom heading id as id attribute if parent is Tabs.Tab
      or Tab
    • should not save to toc list headings of level 1
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 7c8c4989: fix Out of Memory in search while indexing large words
  • Updated dependencies [7c8c4989]
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 7c8c4989: fix Out of Memory in search while indexing large words
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 52ae8fc5: - always cache md/mdx compiler for non-remote content and never
    cache for remote content

    • refactor function arguments for compileMdx
    • fix source code from loader was stripped starting from last match
      export default MDXContent; and until the end, so transform function was
      not applied
    • fix headings were undefined in remote content
nextra - [email protected]

Published by github-actions[bot] about 1 year ago

Minor Changes

  • d9820746: - show headings for partial md/mdx in toc

    • hide headings in toc when parent <Tab /> or <Tabs.Tab />
  • 63271a41: add toc.backToTop option

  • 8962597e: - allow override static image component that was hardcoded to
    import Image from 'next/image' now it's plain <img />

    • support <details />/<summary /> for .md files

Patch Changes

  • cca36d32: do not render mobile sidebar on desktop
  • Updated dependencies [d9820746]
  • Updated dependencies [fbf003cd]
  • Updated dependencies [8962597e]
Package Rankings
Top 0.8% on Npmjs.org
Top 3.74% on Proxy.golang.org
Related Projects