Skip to content

Releases: shuding/nextra

[email protected]

30 Aug 08:33
ca960f7
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • e6771ca: fix edit on github button for cases when filename named as index
  • e6771ca: fix ReferenceError when trying to access __nextra_pageOpts__ inside MDX file
  • 1ee3c92: reuse table styles from docs in blog
  • e6771ca: [Blog/Docs] Add copy to clipboard button for code-blocks. Add NextraConfig.unstable_defaultShowCopyCode option to show button by default, add copy and copy=false options for code-blocks
  • e6771ca: rename meta.json to _meta.json
  • 64ae4b5: add nextraConfig.unstable_readingTime option for blog theme
  • e6771ca: better loader types, add MetaJsonFile, MdxFile, Folder types
  • 71528f1: show copy code button only on hover of container
  • e6771ca: rename PageOpts.meta to PageOpts.frontMatter
  • e6771ca: move withLayout logic directly in nextra loader

[email protected]

30 Aug 14:14
7bf43bf
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
[email protected]

[email protected]

30 Aug 08:33
ca960f7
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • e6771ca: fix search overlay styles on mobile
  • e6771ca: split css to hamburger/scrollbar/typesetting-article css files
  • e6771ca: fix edit on github button for cases when filename named as index
  • e6771ca: BREAKING! various theme config options was renamed, take a look of renamed options here
  • 1ee3c92: reuse table styles from docs in blog
  • e6771ca: [Blog/Docs] Add copy to clipboard button for code-blocks. Add NextraConfig.unstable_defaultShowCopyCode option to show button by default, add copy and copy=false options for code-blocks
  • 5d852b6: break words in navlinks, remove unneeded <div /> wrappers, align text on right side for next link
  • e6771ca: hide search input in navbar on mobile
  • e6771ca: fix empty space in navbar when theme option search.component: null
  • e6771ca: add editLink.component
  • e6771ca: rename meta.json to _meta.json
  • e6771ca: clicking on folder should navigate to first children if index page doesn't exist
  • 71528f1: show copy code button only on hover of container
  • e6771ca: fix callout shrinking from children content
  • e6771ca: rename PageOpts.meta to PageOpts.frontMatter
  • e6771ca: move withLayout logic directly in nextra loader
  • e6771ca: adjust active breadcrumb color
  • e6771ca: fix search input ESC icon vertical alignment

[email protected]

30 Aug 14:14
7bf43bf
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
[email protected]

[email protected]

30 Aug 08:33
ca960f7
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 1ee3c92: reuse table styles from docs in blog
  • e6771ca: [Blog/Docs] Add copy to clipboard button for code-blocks. Add NextraConfig.unstable_defaultShowCopyCode option to show button by default, add copy and copy=false options for code-blocks
  • 64ae4b5: add nextraConfig.unstable_readingTime option for blog theme
  • 71528f1: show copy code button only on hover of container
  • e6771ca: rename PageOpts.meta to PageOpts.frontMatter
  • e6771ca: move withLayout logic directly in nextra loader

[email protected]

28 Aug 00:04
e3fa974
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 37b4445: fix react-dom peer dependency version

[email protected]

28 Aug 00:04
e3fa974
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 1fef548: allow head to be a ReactNode
  • ee270a4: fix extra space in flexsearch input after loading indexes
  • afaa26a: refactor toc, fix toc's styles on rtl, use ref.current instead document.getElementsByClassName
  • cdc1c2f: prefer ref.current over document.querySelector in sidebar

[email protected]

28 Aug 00:04
e3fa974
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
[email protected]

[email protected]

19 Aug 14:30
20110ab
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 803553c: use findPagesDir from next/dist/lib/find-pages-dir

[email protected]

19 Aug 14:30
20110ab
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • 7a32f8e: remove unneeded wrappers <div />s in <Navbar />
  • bea62a1: make the search input responsive in narrow screens
  • 24a02f8: reuse Flexsearch result styles on match-sorter search
  • a0c0eb8: allow override MDXProvider.components
  • 16bedce: "layout": "raw" should render all unstyled elements, except <a />
  • 237faa9: add clear button for search input
  • 24a02f8: typescripify <Flexsearch />
  • 24a02f8: fix all RTL broken styles
  • a8c5883: add config.bodyExtraContent option
  • 8564919: extract <Input/> from <Search/> and <Flexsearch/>
  • 38769ca: prefer ref.current.querySelector over document.querySelector, remove load prop in <Search />
  • 24a02f8: match-sorter search should highlight every match like flexsearch
  • 7bcbc98: add new meta.json#theme.timestamp option to hide Last updated on ...
  • d16b2ba: move contexts to ./contexts directory
  • 47938b1: remove unneeded useRef for <details />
  • 7373c1f: fix useConfig/useRouter inside head()
  • a9ca0b9: do not add basePath to the links
  • 0af6e79: "layout": "raw" should have unstyled <a /> and <p /> elements as well
  • f99bbc2: Add nextra-body-typesetting-article back