- Updated dependencies [50f33f3]
- 45cccd4: allow passing
className
for<Tabs>
and<Tabs.Tab>
- Updated dependencies [45cccd4]
-
9154c2f: fix(nextra-theme-docs): incorrect makePrimaryColor relative value for tailwind primary.900
-
8a21a77: - Change hamburger menu animation speed
Google Core Web Vitals rolled out a new INP score The mobile hamburger menu would occasionally get flagged for "need improvement"
- d755012: feat(nextra-theme-docs): add new theme config option
color.lightness
- 6e64b16: fix
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /path/to/project/node_modules/nextra/package.json
when usingnext.config.ts
- d44c4bc: requires to have a custom App component (
pages/_app.jsx
) - 24f9806: fix folder's index page was not merged with folder itself for some edge case
- Updated dependencies [6e64b16]
- Updated dependencies [d44c4bc]
- Updated dependencies [24f9806]
- Updated dependencies [9c78588]
- 68633e5: fix: Improve Twoslash Popover Display
- Updated dependencies [68633e5]
- 8e9767e:
activeType
should be initialized frommeta['*']
- fec399a: fix
type: 'separator'
,type: 'menu'
anditem
withhref
not respecting order when not all pages specified in_meta
file
- 035fe48: - fix empty dropdown menu when _meta item with
type: "menu"
contains items with local pages - c002118: - add tests for should respect order for
type: "separator"
,type: "menu"
and item withhref
- Updated dependencies [035fe48]
- Updated dependencies [8e9767e]
- Updated dependencies [fec399a]
- Updated dependencies [c002118]
- 8e9767e:
activeType
should be initialized frommeta['*']
- 035fe48: - fix empty dropdown menu when _meta item with
type: "menu"
contains items with local pages - c002118: - add tests for should respect order for
type: "separator"
,type: "menu"
and item withhref
- Updated dependencies [035fe48]
- Updated dependencies [8e9767e]
- Updated dependencies [c002118]
- fec399a: fix
type: 'separator'
,type: 'menu'
anditem
withhref
not respecting order when not all pages specified in_meta
file
- Updated dependencies [fec399a]
- Updated dependencies [bd498c6]
-
9794e9e: Fix
frontMatter.sidebarTitle
didn't affect withoutfrontMatter.title
setnow priority for sidebar title is:
title
property from_meta
filefrontMatter.sidebarTitle
frontMatter.title
- formatted with Title based on filename
-
Updated dependencies [6454938]
-
Updated dependencies [9794e9e]
-
Updated dependencies [9794e9e]
-
f1815ac: From an accessibility POV (WCAG G13) there's a need of additional visual differentiation factor for hovers. Article achieves this but mdx doesn't.
So changing the mdx link behaviour so on hover the underline disappears.
- 7e0093f: Fix
nextra/locales
middleware, redirect to the docs URL relative to the/<basePath>
. - Updated dependencies [7e0093f]
- Updated dependencies [e0a9303]
- Updated dependencies [31de764]
- Updated dependencies [161d350]
- Updated dependencies [f9cc160]
- 72c84eb: add
max-md:_overflow-hidden
instead of_overflow-hidden
when hamburger is clicked - 1530239: hide
<summary>
marker on Safari - 210d68a: trigger scrolling when the TOC item is outside the viewport
- bf04f96: add ring-inset for navbar links
- Updated dependencies [4bbc1fe]
- 4ed7b4b: remove extra horizontal margin spacing in toc
- 3aac732: Add
.nextra-search-results
class back
- 84fc255: should get right
activeType
,activeThemeContext
even when some parent hasdisplay: 'hidden'
- 9b6595d: Ensure the jump link behavior is consistent in Markdown.
- f3a5575: add a scrollbar for nav links in the header when they exceed available free space
- Updated dependencies [84a8a41]
- Updated dependencies [659b36e]
- Updated dependencies [84fc255]
- 9d93caf: RTL support for the
<Steps>
component. - 5fbce2f: Added golang logo for code blocks.
- Updated dependencies [82fc267]
- Updated dependencies [edc6c29]
- Updated dependencies [9d93caf]
- Updated dependencies [5fbce2f]
- 991b69a: handle empty
item.route
in<FolderImpl
in<Sidebar>
foritem.type: 'menu'
- Updated dependencies [b6341f7]
- d9d0820: fix unclickable links on mobile
-
e7e8e84: show react components, variable interpolation and latex in toc
-
c7f03e5: remove
toc.headingComponent
-
ea1a736: remove
next-seo
anduseNextSeoProps
, usehead
option instead -
c2ad837: update to MDX3
-
148278c: rename tailwind prefix
nx-
to_
to reduce bundle size -
919fe97: set
"peerDependencies.next": ">=13"
-
47b125d: fix global style conflicts for
<a>
/<button>
/<summary>
/<input>
/[tabindex]:not([tabindex='-1']
-
ba30c6c: use render props for className with
selected
,disabled
andhover
state for<Tab>
-
d7d8a3e: new styles for code blocks aka in next.js
-
2872606: remove
image
prop from<Card>
component, image will be showed based on truthinesschildren
prop nowset
icon
as optional prop -
63ca28b: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}" instead.
-
ebe652d: remove
sidebar.titleComponent
, use JSX for styling separators and titles -
eca7535: - remove
Steps
,Callout
,Tabs
,Tab
,Cards
,Card
,FileTree
exports, export them now fromnextra/components
- remove
useMDXComponents
export, export it now fromnextra/mdx
- set by default
sidebar.toggleButton
to true
- remove
-
128e195: fix React warning, remove PageOpts.toc, use
toc
prop fromcomponents.wrapper
-
63ca28b: remove
config.serverSideError
-
f2dd18d: - rename theme config options
i18n.text
→i18n.name
banner.text
→banner.content
editLink.text
→editLink.content
footer.text
→footer.content
-
198dbcc: use toc with JSX elements for remote content
-
191e6c4: - use
shikiji
instead ofshiki
- rename
useSSG
touseData
- rename
-
6eb3118: rename
primaryHue
andprimarySaturation
theme options tocolor.hue
andcolor.saturation
-
c7f03e5: rename
pageOpts.headings
totoc
-
8c1b9d5: remove
<MatchSorterSearch>
-
eb943d0: add
theme.topContent
andtheme.bottomContent
-
0fe55db: add
import { useRouter } from 'nextra/hooks'
for fetchinglocale
anddefaultLocale
-
c77485e: set default
head
option asnull
-
1dcb91a: export
useThemeConfig
-
6ec3241: Add Terraform/Move icon shuding/nextra#2811 shuding/nextra#2808
-
5a63701: add icons for following languages:
- GraphQL (
graphql
) - C++ (
c++
,cpp
) - C# (
csharp
,c#
,cs
) - Python (
python
,py
)
allow disallow mobile word wrap button in code blocks with
word-wrap=false
meta data setting - GraphQL (
-
a52a869: add
frontmatter.sidebarTitle
support for setting page label in sidebar via frontmatter -
6ec3241: Make the
<Tab>
component be crawlable and indexable by search engines by default -
b47880d: export
useMenu
hook -
b776b16: add
backgroundColor.light
andbackgroundColor.dark
theme options -
6070b02: rename
frontmatter.sidebar_label
tofrontmatter.sidebarTitle
-
3043826: add shikiji twoslash
Demo feature: https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support
-
6070b02: move
removeLinks
function fromnextra-theme-docs
tonextra/remove-links
-
962cea6: allow
items: Map
fortype: 'menu'
since object can't guaranty the insertion order -
440ff42: add MathJax support
-
1a97327: keep
loading
,placeholder
andthemeSwitch.useOptions
default theme options only foren
lang
-
b045cc3: fix invisible mobile menu after click on hamburger
-
eeb4c4c: enable
outline: 'none'
only for:focus-visible
state, to fix double ring in Firefox -
376b895: fixes case when setting
disabled: true
on the scroll to top button prevents scrolling to most topscroll to most top in toc element too
-
34e25cd: migrate search to
@headlessui/react
Combobox -
73239c4: To ensure consistent horizontal padding, set the default language as plaintext for code blocks. This prevents any loss of formatting for code blocks without a specified language.
-
57f3963: Remove intersection-observer polyfill
-
2b9b95b: migrate to
@headlessui/react
v2 -
7457d6b: remove
git-url-parse
to keep bundle smaller -
2a3e3e7: Fix first list item in
<FileTree>
not within permitted parent elements -
6070b02: load
flexsearch
dynamically to reduce bundle size -
0b4d43b: Avoid the sidebar collapse having unintended animations when
sidebar.autoCollapse
is set totrue
. -
31c2ee7: fix
removeLinks
when input node is link -
bf963cd: Remove the aria-hidden attribute from scroll-to-top button when it is visible
-
829c417: - fix overflow when clicking on
<details>
with open state- fix animation on mobile when clicking on
<details>
with open state
- fix animation on mobile when clicking on
-
cb24790: fix broken
export default
statement in mdx files -
de56507: fix vertical margin for nested ordered
<ol>
and unordered<ul>
lists -
8c99baf: enhance search input to better support CJK language users
-
a8c2196: use dynamic import for loading
mermaid
-
0b5cc9d: make nextra compatible with windows
-
7b0b7e9: fix page scroll jump while entering characters in the search input
-
45471df: fix “Scroll to top” is not supposed to be interactable when it is hidden.
display:children
doesn't collapse breadcrumbshide external links from pagination
remove xmlns attribute from icons
-
8ffe2fe: remove focus-visible polyfill
-
fe5061b: fix for remote docs
-
6945f38: fix not rendered default
<meta name="description" />
and<meta property="og:description" />
-
1a634cd: remove explicit
ZodError
assertion -
ad108ff: use
overflow-x-auto
insteadoverflow-x-scroll
for<Table>
-
4f0f6b2: Omit
...{:type}
inline code annotations from search index #2922 -
150184b: attach heading anchor
id
attribute to heading (like Pagefind do) and fix heading anchor styles whentheme.typesetting: 'article'
is set -
80c9764: ensure zod is removed from production build with
/* @__PURE__ */
comments -
9df7f58: Fix nav-links not highlighting on hover in dark mode
-
7bb18e3: Add a generic for
themeConfig
inNextraThemeLayoutProps
to improve type inference. -
9b41180:
backToTop
is hidden when enabled but whentoc.extraContent
,feedback.content
andeditLink.component
are falsy -
6f4c83a: fix unclickable links in TOC
allow passing
recmaPlugins
inmdxOptions
-
f255696: Improve styles for reduced motion preferences
-
9f55bd1: update rehype-pretty-code/shikiji to latest
-
d21634d: export
getComponents
-
452e5bd: Add
<Playground>
componenthttps://nextra-v2-9x7fp6hti-shud.vercel.app/docs/guide/advanced/playground
-
e95faa1: - fixed
<summary>
lost whitespaces when there is some HTML element inside- fixed hydration errors and
<summary>
was not rendered when<details>
text content follows directly after<summary>
element
- fixed hydration errors and
-
ccaf3d4: Add the
autoImportThemeStyle
option to the Nextra configuration. This allows users to import the official Nextra theme CSS into a specific cascade layer. -
cee94a6: Consider the navbar height when setting the root margin for the active anchor intersection observer
-
2630461: fix
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
on dev environment whenfrontMatter.searchable: false
-
217f708: update next-themes
fix wrong numbering for nested
<Steps>
-
ca51306: Enhance focus ring style consistency.
-
f662237: avoid focus-visible style being cut off by overflow-hidden
-
3c6193d: Remove unnecessary
sortPages
fromserver/utils.ts
-
1a97327: Update the
backToTop
option in the docs theme configuration to support i18n -
799174f: fixed react warning
Warning: React has detected a change in the order of Hooks called by Body
whenthemeConfig.main
options is used -
363b85f: add
flex-shrink: 0
for indent inFileTree
for<Ident>
and svg icons in<Folder>
and<File>
-
237c345: Make React 18 as minimal requirement
-
eb943d0: hardcode flexsearch version to 0.7.31, because package is broken on 0.7.41
-
ad108ff: fix
<Bleed>
overflows incorrectly in firefox -
4fb2452: fix invisible mobile menu when
layout: "raw"
is specified in _meta file -
7faa096: fix visible hidden pages on mobile which set up with
display: 'hidden'
-
315ca82: remove possible links in toc elements
-
a95e745: Fix the line highlighting background-color does not extend to the full width of the code block when a scrollbar appears with line numbers.
-
363b85f: fix
RangeError: Maximum call stack size exceeded
infindSummary
whenchild.props.children
isundefined
-
Updated dependencies [e7e8e84]
-
Updated dependencies [7188278]
-
Updated dependencies [d1e3e9a]
-
Updated dependencies [73239c4]
-
Updated dependencies [2b9b95b]
-
Updated dependencies [023d37b]
-
Updated dependencies [0fe55db]
-
Updated dependencies [50a52fd]
-
Updated dependencies [c2ad837]
-
Updated dependencies [2a3e3e7]
-
Updated dependencies [a3b67ae]
-
Updated dependencies [1a36469]
-
Updated dependencies [799174f]
-
Updated dependencies [98f439c]
-
Updated dependencies [6ec3241]
-
Updated dependencies [148278c]
-
Updated dependencies [c7f03e5]
-
Updated dependencies [3644e1c]
-
Updated dependencies [919fe97]
-
Updated dependencies [cb24790]
-
Updated dependencies [47b125d]
-
Updated dependencies [982862f]
-
Updated dependencies [a8c2196]
-
Updated dependencies [ba30c6c]
-
Updated dependencies [0b5cc9d]
-
Updated dependencies [5a63701]
-
Updated dependencies [60ec68c]
-
Updated dependencies [d7d8a3e]
-
Updated dependencies [fe5061b]
-
Updated dependencies [2872606]
-
Updated dependencies [a52a869]
-
Updated dependencies [6ec3241]
-
Updated dependencies [1a634cd]
-
Updated dependencies [63ca28b]
-
Updated dependencies [ad108ff]
-
Updated dependencies [ad4823d]
-
Updated dependencies [4f0f6b2]
-
Updated dependencies [1f3e7cd]
-
Updated dependencies [ab07609]
-
Updated dependencies [2f3be33]
-
Updated dependencies [90c129e]
-
Updated dependencies [f71e660]
-
Updated dependencies [150184b]
-
Updated dependencies [66cce1d]
-
Updated dependencies [c74ae90]
-
Updated dependencies [7615b62]
-
Updated dependencies [6070b02]
-
Updated dependencies [7bb18e3]
-
Updated dependencies [b9f88e3]
-
Updated dependencies [8efbb45]
-
Updated dependencies [6f4c83a]
-
Updated dependencies [d8a406b]
-
Updated dependencies [9f55bd1]
-
Updated dependencies [4e55c06]
-
Updated dependencies [128e195]
-
Updated dependencies [8bce16d]
-
Updated dependencies [ccaf3d4]
-
Updated dependencies [3043826]
-
Updated dependencies [2630461]
-
Updated dependencies [576cb6f]
-
Updated dependencies [217f708]
-
Updated dependencies [57bc0e2]
-
Updated dependencies [ca51306]
-
Updated dependencies [f662237]
-
Updated dependencies [3c6193d]
-
Updated dependencies [1f3e7cd]
-
Updated dependencies [198dbcc]
-
Updated dependencies [363b85f]
-
Updated dependencies [fef635e]
-
Updated dependencies [6070b02]
-
Updated dependencies [237c345]
-
Updated dependencies [191e6c4]
-
Updated dependencies [440ff42]
-
Updated dependencies [7faa096]
-
Updated dependencies [9099c35]
-
Updated dependencies [98f439c]
-
Updated dependencies [a95e745]
-
Updated dependencies [80e11e0]
-
Updated dependencies [c7f03e5]
- 1a97327: keep
loading
,placeholder
andthemeSwitch.useOptions
default theme options only foren
lang
- ca51306: Enhance focus ring style consistency.
- 1a97327: Update the
backToTop
option in the docs theme configuration to support i18n - Updated dependencies [ca51306]
- 237c345: Make React 18 as minimal requirement
- Updated dependencies [237c345]
- bf963cd: Remove the aria-hidden attribute from scroll-to-top button when it is visible
- cee94a6: Consider the navbar height when setting the root margin for the active anchor intersection observer
- Updated dependencies [982862f]
-
47b125d: fix global style conflicts for
<a>
/<button>
/<summary>
/<input>
/[tabindex]:not([tabindex='-1']
-
ba30c6c: use render props for className with
selected
,disabled
andhover
state for<Tab>
-
2872606: remove
image
prop from<Card>
component, image will be showed based on truthinesschildren
prop nowset
icon
as optional prop
- f255696: Improve styles for reduced motion preferences
- Updated dependencies [47b125d]
- Updated dependencies [ba30c6c]
- Updated dependencies [2872606]
- ccaf3d4: Add the
autoImportThemeStyle
option to the Nextra configuration. This allows users to import the official Nextra theme CSS into a specific cascade layer. - Updated dependencies [ccaf3d4]
-
2a3e3e7: Fix first list item in
<FileTree>
not within permitted parent elements -
829c417: - fix overflow when clicking on
<details>
with open state- fix animation on mobile when clicking on
<details>
with open state
- fix animation on mobile when clicking on
-
Updated dependencies [2a3e3e7]
- 34e25cd: migrate search to
@headlessui/react
Combobox - 57f3963: Remove intersection-observer polyfill
- 2b9b95b: migrate to
@headlessui/react
v2 - Updated dependencies [2b9b95b]
-
0b4d43b: Avoid the sidebar collapse having unintended animations when
sidebar.autoCollapse
is set totrue
. -
452e5bd: Add
<Playground />
componenthttps://nextra-v2-9x7fp6hti-shud.vercel.app/docs/guide/advanced/playground
-
f662237: avoid focus-visible style being cut off by overflow-hidden
-
Updated dependencies [f662237]
- 8c99baf: enhance search input to better support CJK language users
- 8ffe2fe: remove focus-visible polyfill
- 1a634cd: remove explicit
ZodError
assertion - Updated dependencies [1a634cd]
- 6945f38: fix not rendered default
<meta name="description" />
and<meta property="og:description" />
- 7bb18e3: Add a generic for
themeConfig
inNextraThemeLayoutProps
to improve type inference. - Updated dependencies [7bb18e3]
- 73239c4: To ensure consistent horizontal padding, set the default language as plaintext for code blocks. This prevents any loss of formatting for code blocks without a specified language.
- 150184b: attach heading anchor
id
attribute to heading (like Pagefind do) and fix heading anchor styles whentheme.typesetting: 'article'
is set - 9df7f58: Fix nav-links not highlighting on hover in dark mode
- 3c6193d: Remove unnecessary
sortPages
fromserver/utils.ts
- 799174f: fixed react warning
Warning: React has detected a change in the order of Hooks called by Body
whenthemeConfig.main
options is used - Updated dependencies [73239c4]
- Updated dependencies [799174f]
- Updated dependencies [150184b]
- Updated dependencies [3c6193d]
- Updated dependencies [d1e3e9a]
- Updated dependencies [7615b62]
- Updated dependencies [fef635e]
- a8c2196: use dynamic import for loading
mermaid
- 363b85f: add
flex-shrink: 0
for indent inFileTree
for<Ident />
and svg icons in<Folder />
and<File />
- 363b85f: fix
RangeError: Maximum call stack size exceeded
infindSummary
whenchild.props.children
isundefined
- Updated dependencies [a8c2196]
- Updated dependencies [363b85f]
-
4f0f6b27: Omit
...{:type}
inline code annotations from search index #2922 -
e95faa16: - fixed
<summary />
lost whitespaces when there is some HTML element inside- fixed hydration errors and
<summary />
was not rendered when<details />
text content follows directly after<summary />
element
- fixed hydration errors and
-
a95e7454: Fix the line highlighting background-color does not extend to the full width of the code block when a scrollbar appears with line numbers.
-
Updated dependencies [4f0f6b27]
-
Updated dependencies [a95e7454]
-
376b8954: fixes case when setting
disabled: true
on the scroll to top button prevents scrolling to most topscroll to most top in toc element too
-
7b0b7e98: fix page scroll jump while entering characters in the search input
- de565078: fix vertical margin for nested ordered
<ol />
and unordered<ul />
lists
-
6f4c83a8: fix unclickable links in TOC
allow passing
recmaPlugins
inmdxOptions
-
Updated dependencies [6f4c83a8]
- 6ec3241c: Add Terraform/Move icon shuding/nextra#2811 shuding/nextra#2808
- 6ec3241c: Make the
<Tab />
component be crawlable and indexable by search engines by default - b47880d5: export
useMenu
hook
-
ad108ff7: use
overflow-x-auto
insteadoverflow-x-scroll
for<Table />
-
217f7082: update next-themes
fix wrong numbering for nested
<Steps />
-
ad108ff7: fix
<Bleed />
overflows incorrectly in firefox -
Updated dependencies [6ec3241c]
-
Updated dependencies [6ec3241c]
-
Updated dependencies [ad108ff7]
-
Updated dependencies [217f7082]
- eeb4c4cd: enable
outline: 'none'
only for:focus-visible
state, to fix double ring in Firefox - 9b411804:
backToTop
is hidden when enabled but whentoc.extraContent
,feedback.content
andeditLink.component
are falsy - 2630461c: fix
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
on dev environment whenfrontMatter.searchable: false
- Updated dependencies [2630461c]
- 962cea6b: allow
items: Map
fortype: 'menu'
since object can't guaranty the insertion order
- b776b162: add
backgroundColor.light
andbackgroundColor.dark
theme options
- d21634d5: export
getComponents
- Updated dependencies [98f439ca]
- Updated dependencies [f71e660e]
- Updated dependencies [98f439ca]
-
30438264: add shikiji twoslash
Demo feature: https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support
- 9f55bd1f: update rehype-pretty-code/shikiji to latest
- Updated dependencies [9f55bd1f]
- Updated dependencies [30438264]
-
5a637010: add icons for following languages:
- GraphQL (
graphql
) - C++ (
c++
,cpp
) - C# (
csharp
,c#
,cs
) - Python (
python
,py
)
allow disallow mobile word wrap button in code blocks with
word-wrap=false
meta data setting - GraphQL (
- Updated dependencies [5a637010]
- Updated dependencies [90c129e6]
- Updated dependencies [1a364694]
-
45471df5: fix “Scroll to top” is not supposed to be interactable when it is hidden.
display:children
doesn't collapse breadcrumbshide external links from pagination
remove xmlns attribute from icons
- 6070b025: rename
frontmatter.sidebar_label
tofrontmatter.sidebarTitle
- 6070b025: move
removeLinks
function fromnextra-theme-docs
tonextra/remove-links
- 6070b025: load
flexsearch
dynamically to reduce bundle size - Updated dependencies [60ec68c4]
- Updated dependencies [c74ae90a]
- Updated dependencies [6070b025]
- Updated dependencies [8bce16d3]
- Updated dependencies [6070b025]
- Updated dependencies [3644e1c2]
- Updated dependencies [57bc0e2a]
- c2ad837d: update to MDX3
- eb943d00: add
theme.topContent
andtheme.bottomContent
- eb943d00: hardcode flexsearch version to 0.7.31, because package is broken on 0.7.41
- Updated dependencies [c2ad837d]
- Updated dependencies [9099c354]
- Updated dependencies [8efbb45c]
- Updated dependencies [80e11e04]
- 440ff42d: add MathJax support
- Updated dependencies [440ff42d]
- 0b5cc9d5: make nextra compatible with windows
- Updated dependencies [0b5cc9d5]
- 31c2ee70: fix
removeLinks
when input node is link - 03da778a: fix
*
theme settings for dynamic routes when route is not exist in page map - Updated dependencies [03da778a]
- 315ca826: remove possible links in toc elements
- Updated dependencies [a3b67aea]
- 1dcb91a0: export
useThemeConfig
- 4fb24524: fix invisible mobile menu when
layout: "raw"
is specified in _meta file - 7faa0968: fix visible hidden pages on mobile which set up with
display: 'hidden'
- Updated dependencies [7faa0968]
- fe5061b7: fix for remote docs
- Updated dependencies [fe5061b7]
- b045cc3e: fix invisible mobile menu after click on hamburger
- cb247901: fix broken
export default
statement in mdx files - Updated dependencies [cb247901]
-
e7e8e849: show react components, variable interpolation and latex in toc
-
c7f03e54: remove
toc.headingComponent
-
ea1a7362: remove
next-seo
anduseNextSeoProps
, usehead
option instead -
148278ce: rename tailwind prefix
nx-
to_
to reduce bundle size -
d7d8a3eb: new styles for code blocks aka in next.js
-
63ca28be: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}" instead.
-
ebe652db: remove
sidebar.titleComponent
, use JSX for styling separators and titles -
128e195f: fix React warning, remove PageOpts.toc, use
toc
prop fromcomponents.wrapper
-
63ca28be: remove
config.serverSideError
-
198dbcca: use toc with JSX elements for remote content
-
191e6c41: - use
shikiji
instead ofshiki
- rename
useSSG
touseData
- rename
-
6eb3118f: rename
primaryHue
andprimarySaturation
theme options tocolor.hue
andcolor.saturation
-
c7f03e54: rename
pageOpts.headings
totoc
- c77485ec: set default
head
option asnull
- a52a869e: add
frontmatter.sidebar_label
support for setting page label in sidebar via frontmatter
- 7457d6b6: remove
git-url-parse
to keep bundle smaller - Updated dependencies [e7e8e849]
- Updated dependencies [71882780]
- Updated dependencies [023d37b1]
- Updated dependencies [148278ce]
- Updated dependencies [c7f03e54]
- Updated dependencies [d7d8a3eb]
- Updated dependencies [a52a869e]
- Updated dependencies [63ca28be]
- Updated dependencies [1f3e7cd4]
- Updated dependencies [b9f88e34]
- Updated dependencies [4e55c064]
- Updated dependencies [128e195f]
- Updated dependencies [1f3e7cd4]
- Updated dependencies [198dbcca]
- Updated dependencies [191e6c41]
- Updated dependencies [c7f03e54]
-
919fe977: set
"peerDependencies.next": ">=13"
-
eca75354: - remove
Steps
,Callout
,Tabs
,Tab
,Cards
,Card
,FileTree
exports, export them now fromnextra/components
- remove
useMDXComponents
export, export it now fromnextra/mdx
- set by default
sidebar.toggleButton
to true
- remove
-
f2dd18d2: - rename theme config options
i18n.text
→i18n.name
banner.text
→banner.content
editLink.text
→editLink.content
footer.text
→footer.content
-
8c1b9d53: remove
<MatchSorterSearch />
- 0fe55db2: add
import { useRouter } from 'nextra/hooks'
for fetchinglocale
anddefaultLocale
- 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]
- f7fc10b4: fix for the memory leak issue in the
highlight-matches.tsx
component when search query contain multiple whitespaces
- 93b57052: allow to disable
editLink
by specifyingeditLink.component: null
in theme config - 93b57052: fix
type: 'separator'
zod validation, marktitle
field as optional - Updated dependencies [93b57052]
-
ad7b31b0: downgrade remark-math from
6
to5.1.1
to fixTypeError: Cannot read properties of undefined (reading 'mathFlowInside')
errorfix support of ```math lang that was overridden by
rehype-pretty-code
-
Updated dependencies [ad7b31b0]
- 3e5e1153: fix showing toggle sidebar button when darkmode is turned off and i18n was not set
- Updated dependencies [ee02a483]
- 7aec7bb5: add
primarySaturation
theme option - a55e4aa4: update
npm2yarn
, add bun tab
- a55e4aa4: do not scroll to top while calling cmd+k in search input
-
ffb6d808: - Fix
TypeError: Cannot read properties of null (reading 'classList')
while navigating to route that doesn't have toc withrouter.push
for example- Add alias
Tabs.Tab
toTab
component - Add alias
Cards.Card
toCard
component - should not attach custom heading id as id attribute if parent is
Tabs.Tab
orTab
- should not save to toc list headings of level 1
- Add alias
-
Updated dependencies [ffb6d808]
- 7c8c4989: fix
Out of Memory
in search while indexing large words - Updated dependencies [7c8c4989]
- Updated dependencies [52ae8fc5]
-
d9820746: - show headings for partial md/mdx in toc
- hide headings in toc when parent
<Tab />
or<Tabs.Tab />
- hide headings in toc when parent
-
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
- support
- cca36d32: do not render mobile sidebar on desktop
- Updated dependencies [d9820746]
- Updated dependencies [fbf003cd]
- Updated dependencies [8962597e]
- cf5f91ea: fix footnotes and backlink jump
- ddddce95: skip search indexing for 404/500 pages
- 4dd720ad: remove
font-weight: 500;
from styles of code blocks since it gives no effect - 29e35d81: fix feedback.labels for gitlab
- Updated dependencies [ddddce95]
- Updated dependencies [6154e312]
- Updated dependencies [46743ba4]
- Updated dependencies [4dd720ad]
- 3bb480a4: export
LocaleSwitch
fromnextra-theme-docs
- 3bb480a4: use github-slugger for custom heading ids to prevent duplicated headings
- 3bb480a4: fix custom heading id in search result
- 3bb480a4: fix
Warning: Prop href did not match. Server: "/blog.en-US#" Client: "/blog#"
in bynormalizePages
from nextra/normalize-pages` - 3bb480a4: improve hr contrast
- 3bb480a4: fix search, trigger the search after the Input is complete for languages like Chinese
- 3bb480a4: strip
.html
extension from URL route for static export - 3bb480a4: fix memory leak in search for case
>
replaced previously to>||
+ some character provoke memory leak becauseRegExp#exec
will always return a match - 3bb480a4: fix code blocks
box-decoration-theme: clone
can create confusing output over line breaks, useslice
instead - Updated dependencies [3bb480a4]
- Updated dependencies [3bb480a4]
- Updated dependencies [3bb480a4]
- Updated dependencies [3bb480a4]
-
e54b008: - add
@theguild/remark-npm2yarn
package that replaces the code block that hasnpm2yarn
metadata with<Tabs />
and<Tab />
components fromnextra/components
.<Tabs />
now hasselectedKey
prop, the chosen tab is saved in the local storage, which will be chosen in future page renders.
- Updated dependencies [e54b008]
-
16bbb88: Move below packages to nextra package
<Cards />
and<Card />
<Tabs />
and<Tab />
<Steps />
<FileTree />
to import them you can use the following in your official
nextra-theme-blog
andnextra-theme-docs
import { Card, Cards } from "nextra/components";
import { Tab, Tabs } from "nextra/components";
import { Steps } from "nextra/components";
import { FileTree } from "nextra/components";
- b1a7eba:
opens in new tab
span element should haveuser-select: none
- Updated dependencies [16bbb88]
- Updated dependencies [23a25b1]
- b43f268: add new option
sidebar.autoCollapse
to automatically collapse inactive folders abovedefaultMenuCollapseLevel
- 6c12bf4: fix broken code format while selecting and copying code with
showLineNumbers
option enabled - Updated dependencies [6c12bf4]
- Updated dependencies [0e53ca51]
- 44626e8f: support mermaid diagrams
- Updated dependencies [44626e8f]
- 9c9625ee: Fix search not working in certain Next.js versions
- Updated dependencies [9c9625ee]
- Updated dependencies [1e9ebabc]
- 1c6256b: Move Callout component to nextra package
- 15c4092: fix inconsistent
font-weight: bold
style fortype: 'menu'
- 2d79e20: Resolves dark mode contrast problems in sidebar and breadcrumbs
- Updated dependencies [15c4092]
- Updated dependencies [1c6256b]
- Updated dependencies [a3601e5]
- Updated dependencies [d408ab0]
- 08d393e: support ANSI highlighting
- 8515349: fix Warning: React has detected a change in the order of Hooks called by Search
- Updated dependencies [08d393e]
- 41d4aa0: remove
nx-overflow-x-hidden
from main content - Updated dependencies [16e562d]
- 2df6e91: Use config.useOptions text as the Select selected name on Theme Switch
- 7989cc5: fix regression of sidebar style for folder
- Updated dependencies [a992ce1]
- 6973b21: Add new option
headingComponent
to the TOC
-
2ff360f: use
<span />
instead<div />
inside<button />
for local switch button -
e3664c4: fix uncrawable links in sidebar, use button when link don't have href because it impacts on SEO
remove useless prop children from
<FileTree.File />
component -
8e00549: export
<Link />
component -
61b4f0c: Wrap long section headers in TOC properly
-
Updated dependencies [545bd7c]
-
Updated dependencies [0a50cad]
-
Updated dependencies [259bfbc]
- 707a709: Improve sidebar colors accessibility
- 76e8b0f: support custom heading id via
# my very long heading... [#my-custom-heading]
syntax shuding/nextra#1645
- fb0b19b: Do not focus search when currently focusing a HTMLElement with contenteditable active
- Updated dependencies [0dd028a]
- Updated dependencies [6ea1caf]
- Updated dependencies [76e8b0f]
- 2e48307: export
normalizePages
fromnextra/normalize-pages
,useFSRoute
fromnextra/hooks
(can be useful for custom theme) - Updated dependencies [2e48307]
- Updated dependencies [e4c8b6d]
- Updated dependencies [e41cbbc]
- Updated dependencies [a1e59b2]
- f29358a: always show
Cmd+K
when search input loses focus - 7cbf5d9: rename input placeholder to "Rechercher documents..." in french
- 35d4fd1: fix
<summary />
when children contains<p />
- 89bbe4c: fix filetree for 2 folders
- Updated dependencies [9bd2d59]
- Updated dependencies [c2287e1]
- Updated dependencies [90cb6b8]
- Updated dependencies [4a66366]
- b94245a: Reverts #1417 "force theme to light if darkMode: false was set"
- d495e5f: introduce
_app.mdx
for better performance and smallest.next/static/chunks
size - Updated dependencies [d495e5f]
- 71c1897: export
<Card />
,<Cards >/
,<Steps />
and<FileTree />
- 51ec00f: fix white appearing of white square while sidebar was toggled
- 2e441b7: open http:// links in new window
- 7f697e9: prefer
asPath
overroute
inuseNextSeoProps
docs, allowvoid
as return type ofuseNextSeoProps
- 016828e: do not redirect .mp4 in locales middleware
- da585a8: force theme to
light
ifdarkMode: false
was set - 863a750: Fixed x overflow in Callouts for long latex
- eae1993: Fix the capital letter M is displayed incorrectly on Xiaomi phones
- ad8625c: bump @headlessui/react to ^1.7.10
- 673a125: fix squeezed sidebar when he was hidden -> navigated to page without sidebar -> comeback to page with sidebar
- 26c7e20: fix: move intersection observe and slugs into ActiveAnchorProvider
- 3e9e54f: hide unnecessary parts of the pages when being printed
- Updated dependencies [d5aa17c]
- Updated dependencies [016828e]
- Updated dependencies [b3219c3]
- bcaba9c: fix capitalizing sidebar links + tests
- f300fe7: fix missing sidebar nav links while applying
"display": "hidden"
for folder - 71257cd: style improvements
- efd8c71: fix for
theme: { footer: false }
still showed the footer - 086cf7b: fix scrollbar for table and tabs
- Updated dependencies [bcaba9c]
- Updated dependencies [a683c84]
- Updated dependencies [a404ef7]
- 089112c: validate
_meta.json
files with zod - 23fc5b7: style improvements
- d1d873f: typed frontmatter ->
useConfig<YOUR_FRONTMATTER_TYPE>
- 93b9596: fix overflow for main content on desktop and mobile
- 6626356: prefer
import type
- 2234a13: fix raw
__esModule
string ☠️ - Updated dependencies [d1d873f]
- Updated dependencies [6626356]
- Updated dependencies [2234a13]
- c913ec8: add peer deps
- Updated dependencies [619ae3a]
-
bcaf84a: fix treeshake of zod validation on prod build
-
e10bf74: add support for remote
[...catchAll]
routessupport meta keys with
/
sanitize remote mdx by removing
import
statements -
6a0f428: add zod validation for _meta.json "theme" property
-
6a0f428: use
z.strictObject
insteadz.object
in zod theme validation, improve zod error messages
- c97143f: fix search index output location
- 4b2052f: fix
Module not found: Can't resolve 'nextra-theme-docs/style.css'
for imported markdown files that located outside of CWD - 624d6b4: fix when sidebar show non-md folders
- 0c957db: fix capitalizing of undefined _meta.json file/folders
- be410bd: fix
<Collapse />
initial animation
- 5daa1c4: fix Collapse element
- 163065c: loader refactor, type-safe
__nextra_resolvePageMap
, avoid code interpolation in loader.ts
-
091b77b: fix missing filename
add filename / copy code with "codeHighlight: false"
add unit tests for filename and copy code
-
917de49: remove
github-slugger
from docs -
1b2d7a2: allow hide sidebar, add new option
sidebar.toggleButton?: boolean = false
- 11b2870: fix copy code button position
- 0cab136: pass route to titleComponent
- cd0cc63: fix defaultMenuCollapseLevel behavior
- 3145f53: extend
plugin:react/recommended
,plugin:react-hooks/recommended
andplugin:@next/next/recommended
configs - 1834730: fix hydration error produced by cached compiler, fix broken
code-blocks styles while setting
nextraConfig.codeHighlight: false
- 8b9a5a0: tweak styling; fix zod checks
- e4b20ca: support
transform
in nextra config
- af76dbe: fix highlight substring from filename for code blocks
- e5262d0: improve hmr and internal api for layout (toc and meta files)
- d6b0068: Always close mobile nav when route was changed (e.g. logo click)
- 9df1d5d: fix
undefined: undefined
property inuseConfig()
- c86508c: lint fixes for
eslint:recommended
andplugin:@typescript-eslint/recommended
configs - d6c871a: simplify the custom theme layout api
- 1ff43c1: use OKLCH colors where possible
- 0da1258: add new option
feedback.useLink
- a3f1a90: validate theme options with
zod
- a31678a: improve copy
- 8060ed3: style improvements
-
99ec64e: fix indentation for copy code button
-
3a08fe2: Add Callout border in dark mode
-
328ad88: support basePath with locale switch
-
f488e2e: remove @react/skip-nev #1051
fix: staticImage should only set blur placeholder for jpeg,png,webp,avif
-
5c617d4: add
aria-label
for dismiss button in banner -
b43d775: fix
Navbar />
elementskey
prop -
105588d: fix missing border in navbar
-
c1867fd: fix hydration for default
gitTimestamp
component
- a9748aa: fix: A11y improvements to the docs theme
- ac82b1f: make code-blocks buttons focusable if they are visible on page
- 0ca195c: inform screen readers of externals links that open in a new tabs
- 8f6d377: allow custom github domains
- 4731fa7: Style improvements
- 7a32f8e: remove unneeded wrappers
<div />
s in<Navbar />
- 9ab6dd0: allow adding additional navbar content via
navbar.extraContent
- e6771ca: fix search overlay styles on mobile
- 94ef0b3: improve 2.0 docs
- 21009c7: fix covered select options
- bea62a1: make the search input responsive in narrow screens
- 903ddf0: fix: should update scroll when height is dynamic
- e6771ca: split css to
hamburger
/scrollbar
/typesetting-article
css files - 24a02f8: reuse Flexsearch result styles on match-sorter search
- 1a7cd68: toc anchor links should have
display: inline-block
- 6644bd5: pass unstable_flexsearch
- cef5546: allow headings contain links
- 2217f9c: fix
Warning: Prop
hrefdid not match. Server: "#" Client: ...
- a0c0eb8: allow override
MDXProvider.components
- e6771ca: fix edit on github button for cases when filename named as
index
- 8bcb5e6: fix sideEffects in package.json
- 2217f9c: fix
next export
command - fdb2f57: update docs to use next.js 13
- 3e3b0a9: feat: add cursor pointer to locale and theme menu
- a0398e0: fix: avoid mutating nextConfig
- e6771ca: BREAKING! various theme config options was renamed, take a look of renamed options here
- 59e18b0: make
nextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13 - 38ccce8: feat(docs): allow
Tabs.items
asReadonlyArray<ReactNode>
- fc8cca0: add
<InformationCircleIcon />
icon, improve<Callout />
default emojis - fe2b714: upgrade to react 18
- af72f85: chore(nextra-theme-docs): provide type for
DocsThemeConfig.nextThemes
instead ofobject
- e4cfb83: define page title in sidebar from
frontMatter.title
if page is not specified in_meta.json
- 1ee3c92: reuse table styles from docs in blog
- f569d90: missing
nx-
class prefixes in blog fix callout padding in docs - 77361da: fix ESC button when still stays after pressed ESC
- b1d7361: improve docs for 2.0
- 9064112: make
<Tab />
acceptComponentProps<'div'>
- da2bea7: remove no longer used
icons
folder - 4825365: add
@types/github-slugger
instead of manually declaring type - 6bdb9bf: fix: broken flexsearch styles
- fdfe4f8: fix covered theme switch popup when i18n is not setup
- 66712f0: polish docs
- 873561b: scrollbar is toc should be same as in sidebar
- 08a39e6: remove
resizeObserver
for dynamic content since it provoke jumps on tabs switch when there is#
anchor in url - 4e4a37c: add new "display" property to _meta
- e6771ca: [Blog/Docs] Add copy to clipboard button for code-blocks. Add
NextraConfig.unstable_defaultShowCopyCode
option to show button by default, addcopy
andcopy=false
options for code-blocks - a5cac21: [docs/blog]: extract code styles and import in both themes
- 96ed5c2: [nextra/nextra-theme-docs]: support both
experimental.newNextLinkBehavior
-true
andfalse
- 1fef548: allow head to be a ReactNode
- 580c433: add nx- to all tailwind classes for style isolation
- c3e6227: add
overflow-x-scroll
for tables - dfbe996: extract
<Banner />
from<Navbar />
tocomponents/banner.tsx
- 1c3fedb: add missing
nx-
prefixes to table/th/tr elements - 78f1519: chore: Add strict-peer-dependencies=false
- c15f570: fix: query should not affect nav highlight
- 97e6141: fix(nextra/docs): fallback search to
en-US
insteaddefault
- 2b6f3be: add missing border for search container
- cb87709: Fix flexsearch option being overridden
- d6d5ab8: Make sure arrows are aligned
- a007c64: move DEFAULT_THEME and DEFAULT_PAGE_THEME to constants.tsx
- ab6c0e6: fix disappearing toc issue in Firefox
- 16bedce:
"layout": "raw"
should renderall
unstyled elements, except<a />
- a0e5847: Rename some docs theme configurations
- 351fa45: add missing
nx-
prefix forgrow
class in<LocaleSwitch />
- c09f450: fix CTRL+K, on non non-mac use
e.ctrlKey
insteade.metaKey
- f5bf2e4: fix margin-top for
<Tab />
content - 237faa9: add clear button for search input
- 973ca49: fix rtl/ltr glitch on initial loading
- c8129a2: fix theme switcher style
- 3de0f41: chore(blog/docs): use
postcss-import
to import css variables styles - 2e2912e: fix project/chat icon could appear without provided link
- 97ca2e3: New feature: menu type
- 84d983f: fix(docs): correct query for hash with leading num
- 32cd385: add new option
search.loading
for control loading text - 2533a6c: replace
main.extraContent
theme option withmain
option - 4730bdc: chore(nextra-theme-docs): refactor
theme-context.ts
- 24a02f8: typescripify
<Flexsearch />
- 74a3398: update docs for 2.0
- bd2cefa: Fix css classes with
eslint-plugin-tailwindcss
- ff8967c: add
Toggle Word Wrap
button for code-blocks (only for mobile) - 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
- 76d1e30: [nextra-theme-docs]: fix
Warning: A title element received an array
and possible[object Object]
in title - 009bf6a: Fix release workflow.
- 5238bb4: feat(docs): support logoLink config option
- e6771ca: fix empty space in navbar when theme option
search.component: null
- e6771ca: add
editLink.component
- ee270a4: fix extra space in flexsearch input after loading indexes
- e6771ca: rename
meta.json
to_meta.json
- 24a02f8: fix all RTL broken styles
- 0c136ad: add missing
nx-
prefix in sidebar - ff8967c: fix missing
Copy Code
button in code-blocks without language - 2217f9c: replace
classnames
package withclsx
as he's faster - e6771ca: clicking on folder should navigate to first children if
index
page doesn't exist - 723d42a: use
lightningcss
insteadcssnano
- bf74201: [nextra-theme-docs]: use new opacity modifier syntax for tailwindcss
- a8c5883: add
config.bodyExtraContent
option - e2d603a: remove
getComponents
export, exportuseMDXComponents
from@mdx-js/react
instead - 8564919: extract
<Input/>
from<Search/>
and<Flexsearch/>
- 05d068c: Add button label for hamburger menu
- 38769ca: prefer
ref.current.querySelector
overdocument.querySelector
, removeload
prop in<Search />
- b219821: fix body overflow
- d7f2bbc: adjust docs theme; rename options
- 24a02f8: match-sorter search should highlight every match like flexsearch
- 2217f9c: remove
locale
prop from theme config, forbid passing inrenderComponent
- 7d2d5ee: use resolvedTheme instead renderedTheme + theme check
- 256154a: use "next/future/image" if
"experimental.images.allowFutureImage": true
is set in next config - 9f5af54: add
_meta.json#theme.collapsed
option for control state sidebar's folders - c8605d6: feat: New layout implementation
- 4157b71: set lower build target and share code highlight theme through nextra
- c28a7f2: - setup
next-seo
- add new theme option
getNextSeoProps
- remove
titleSuffix
theme option in favor ofgetNextSeoProps.titleTemplate
- by default pass
description
,canonical
,openGraph
values to<NextSeo />
component from pagefrontMatter
, values can be overridden with return value ofgetNextSeoProps
- add new theme option
- f360f28: add new theme option
banner.dismissible
- 7bcbc98: add new
meta.json#theme.timestamp
option to hideLast updated on ...
- 94a8587: chore: extract
svg
icons in/icons
folder, reusing same icons<MoonIcon />
/<SunIcon />
in blog from docs - d16b2ba: move contexts to
./contexts
directory - 699d131: feat(nextra/docs/blog): allow import
.md
/.mdx
as well - 47938b1: remove unneeded
useRef
for<details />
- 256154a: replace images with
<NextImage />
even when url not relative but that starts from/
(public directory) - e573175: Fix release CI
- 48e0ac2: export
useConfig
anduseTheme
- 21009c7: better focus ui, use ring color as theme hue color
- 0f4795f: chore(nextra/blog/docs): provide types for PageOpts in loader
- 71528f1: show copy code button only on hover of container
- 03e90d8: refresh build system with tsup and fix nextra type
- afaa26a: refactor toc, fix toc's styles on rtl, use
ref.current
insteaddocument.getElementsByClassName
- c380989: fix(docs): types is missing in bundle
- 7373c1f: fix
useConfig
/useRouter
insidehead()
- e6771ca: fix callout shrinking from children content
- fb37b5f: Close selector bracket for compat with old Safari.
- e6771ca: rename
PageOpts.meta
toPageOpts.frontMatter
- ab629e6: Add correct aria values inside nav
- cdc1c2f: prefer
ref.current
overdocument.querySelector
in sidebar - 6a4a593: fix: #531 unclickable breadcrumb
- d34f9f2: feat(nextra-theme-docs): update discord logo to the new one
- a8a89e9: chore(docs): export ThemeSwitch & custom social
- f964802: do not hide default logo on mobile
- 7053959: chore(nextra-theme-docs): remove unneeded
transform-none
css class - bc52178: fix
editLink
option was not merged with default configeditLink
- 582ad96: feat: bump
rehype-pretty-code
version, supportshowLineNumbers
- da998e6: move react components to
components
folder and replace exports:byimport Bleed from "nextra-theme-docs/bleed"; import Callout from "nextra-theme-docs/callout"; import Collapse from "nextra-theme-docs/collapse"; import { Tab, Tabs } from "nextra-theme-docs/tabs";
import { Bleed, Callout, Collapse, Tab, Tabs } from "nextra-theme-docs";
- e6771ca: move
withLayout
logic directly in nextra loader - 8ad9507: fix unable expanding folder items in sidebar
- c2c0d90: fix(search): handle case when value is empty
- c4a9782: support custom hue theme color via
primaryHue
,primaryHue.dark
andprimaryHue.light
theme options - c8bb94f: UI adjustments
- a9ca0b9: do not add
basePath
to the links - 88f999d: fix: UI improvements
- 43409ad: fix: mdx theme is missing
- 416dfe2: add missing
nx-
prefixes in sidebar - e6771ca: adjust active breadcrumb color
- 707fdc2: fix: Anchor links are not wrapping on the sidebar
- c3e6227: reuse nextra's scrollbar-y styles for scrollbar-x, adjust sidebar's scrollbar-y
- 0af6e79:
"layout": "raw"
should have unstyled<a />
and<p />
elements as well - 2ec8564: add
DocsThemeConfig.navbar
config option for overriding navbar - f99bbc2: Add
nextra-body-typesetting-article
back - e6771ca: fix search input
ESC
icon vertical alignment - 5b01537: Fix full docs directory list and active link
- 06aa62f: feat: allow
import { getComponents } from 'nextra-theme-docs'
- 66712f0: polish docs
- 94ef0b3: improve 2.0 docs
- fdb2f57: update docs to use next.js 13
- b1d7361: improve docs for 2.0
- 74a3398: update docs for 2.0
- d7f2bbc: adjust docs theme; rename options
- 9ab6dd0: allow adding additional navbar content via
navbar.extraContent
- 59e18b0: make
nextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13 - 2e2912e: fix project/chat icon could appear without provided link
- 2b6f3be: add missing border for search container
- 32cd385: add new option
search.loading
for control loading text - fb37b5f: Close selector bracket for compat with old Safari.
- bd2cefa: Fix css classes with
eslint-plugin-tailwindcss
- f569d90: missing
nx-
class prefixes in blog fix callout padding in docs
- 8f6d377: allow custom github domains
- f5bf2e4: fix margin-top for
<Tab />
content - 0c136ad: add missing
nx-
prefix in sidebar - 8ad9507: fix unable expanding folder items in sidebar
- 416dfe2: add missing
nx-
prefixes in sidebar
- 05d068c: Add button label for hamburger menu
- 5b01537: Fix full docs directory list and active link
- 08a39e6: remove
resizeObserver
for dynamic content since it provoke jumps on tabs switch when there is#
anchor in url - 1c3fedb: add missing
nx-
prefixes to table/th/tr elements - 351fa45: add missing
nx-
prefix forgrow
class in<LocaleSwitch />
- ab629e6: Add correct aria values inside nav
- 4e4a37c: add new "display" property to _meta
- 580c433: add nx- to all tailwind classes for style isolation
- 2533a6c: replace
main.extraContent
theme option withmain
option - c28a7f2: - setup
next-seo
- add new theme option
getNextSeoProps
- remove
titleSuffix
theme option in favor ofgetNextSeoProps.titleTemplate
- by default pass
description
,canonical
,openGraph
values to<NextSeo />
component from pagefrontMatter
, values can be overridden with return value ofgetNextSeoProps
- add new theme option
- fc8cca0: add
<InformationCircleIcon />
icon, improve<Callout />
default emojis - 723d42a: use
lightningcss
insteadcssnano
- 9f5af54: add
_meta.json#theme.collapsed
option for control state sidebar's folders - f360f28: add new theme option
banner.dismissible
- a8a89e9: chore(docs): export ThemeSwitch & custom social
- cef5546: allow headings contain links
- 5238bb4: feat(docs): support logoLink config option
- f964802: do not hide default logo on mobile
- 1a7cd68: toc anchor links should have
display: inline-block
- c09f450: fix CTRL+K, on non non-mac use
e.ctrlKey
insteade.metaKey
- 84d983f: fix(docs): correct query for hash with leading num
- 7d2d5ee: use resolvedTheme instead renderedTheme + theme check
- 973ca49: fix rtl/ltr glitch on initial loading
- c2c0d90: fix(search): handle case when value is empty
- 21009c7: fix covered select options
- 21009c7: better focus ui, use ring color as theme hue color
- a0e5847: Rename some docs theme configurations
- 4731fa7: Style improvements
- e4cfb83: define page title in sidebar from
frontMatter.title
if page is not specified in_meta.json
- 9064112: make
<Tab />
acceptComponentProps<'div'>
- c3e6227: add
overflow-x-scroll
for tables - d6d5ab8: Make sure arrows are aligned
- ab6c0e6: fix disappearing toc issue in Firefox
- ff8967c: add
Toggle Word Wrap
button for code-blocks (only for mobile) - ff8967c: fix missing
Copy Code
button in code-blocks without language - e2d603a: remove
getComponents
export, exportuseMDXComponents
from@mdx-js/react
instead - 256154a: use "next/future/image" if
"experimental.images.allowFutureImage": true
is set in next config - 256154a: replace images with
<NextImage />
even when url not relative but that starts from/
(public directory) - c4a9782: support custom hue theme color via
primaryHue
,primaryHue.dark
andprimaryHue.light
theme options - c3e6227: reuse nextra's scrollbar-y styles for scrollbar-x, adjust sidebar's scrollbar-y
- bc52178: fix
editLink
option was not merged with default configeditLink
- c8129a2: fix theme switcher style
- 2ec8564: add
DocsThemeConfig.navbar
config option for overriding navbar
- 77361da: fix ESC button when still stays after pressed ESC
- fdfe4f8: fix covered theme switch popup when i18n is not setup
- 873561b: scrollbar is toc should be same as in sidebar
- 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, addcopy
andcopy=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
toPageOpts.frontMatter
- e6771ca: move
withLayout
logic directly in nextra loader - e6771ca: adjust active breadcrumb color
- e6771ca: fix search input
ESC
icon vertical alignment
- 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
insteaddocument.getElementsByClassName
- cdc1c2f: prefer
ref.current
overdocument.querySelector
in sidebar
- 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 renderall
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
overdocument.querySelector
, removeload
prop in<Search />
- 24a02f8: match-sorter search should highlight every match like flexsearch
- 7bcbc98: add new
meta.json#theme.timestamp
option to hideLast updated on ...
- d16b2ba: move contexts to
./contexts
directory - 47938b1: remove unneeded
useRef
for<details />
- 7373c1f: fix
useConfig
/useRouter
insidehead()
- 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
- 2217f9c: fix
Warning: Prop
hrefdid not match. Server: "#" Client: ...
- 2217f9c: fix
next export
command - 2217f9c: replace
classnames
package withclsx
as he's faster - 2217f9c: remove
locale
prop from theme config, forbid passing inrenderComponent
- 8bcb5e6: fix sideEffects in package.json
- da2bea7: remove no longer used
icons
folder - 4825365: add
@types/github-slugger
instead of manually declaring type - dfbe996: extract
<Banner />
from<Navbar />
tocomponents/banner.tsx
- a007c64: move DEFAULT_THEME and DEFAULT_PAGE_THEME to constants.tsx
- b219821: fix body overflow
- 48e0ac2: export
useConfig
anduseTheme
- da998e6: move react components to
components
folder and replace exports:byimport Bleed from "nextra-theme-docs/bleed"; import Callout from "nextra-theme-docs/callout"; import Collapse from "nextra-theme-docs/collapse"; import { Tab, Tabs } from "nextra-theme-docs/tabs";
import { Bleed, Callout, Collapse, Tab, Tabs } from "nextra-theme-docs";
- 43409ad: fix: mdx theme is missing
- 88f999d: fix: UI improvements
- 96ed5c2: [nextra/nextra-theme-docs]: support both
experimental.newNextLinkBehavior
-true
andfalse
- c8605d6: feat: New layout implementation
- cb87709: Fix flexsearch option being overridden
- 4157b71: set lower build target and share code highlight theme through nextra
- 6a4a593: fix: #531 unclickable breadcrumb
- 06aa62f: feat: allow
import { getComponents } from 'nextra-theme-docs'
- a5cac21: [docs/blog]: extract code styles and import in both themes
- 3de0f41: chore(blog/docs): use
postcss-import
to import css variables styles - 97ca2e3: New feature: menu type
- 76d1e30: [nextra-theme-docs]: fix
Warning: A title element received an array
and possible[object Object]
in title - bf74201: [nextra-theme-docs]: use new opacity modifier syntax for tailwindcss
- 0f4795f: chore(nextra/blog/docs): provide types for PageOpts in loader
- 903ddf0: fix: should update scroll when height is dynamic
- 3e3b0a9: feat: add cursor pointer to locale and theme menu
- a0398e0: fix: avoid mutating nextConfig
- 38ccce8: feat(docs): allow
Tabs.items
asReadonlyArray<ReactNode>
- fe2b714: upgrade to react 18
- 6bdb9bf: fix: broken flexsearch styles
- 78f1519: chore: Add strict-peer-dependencies=false
- 582ad96: feat: bump
rehype-pretty-code
version, supportshowLineNumbers
- c8bb94f: UI adjustments
- 707fdc2: fix: Anchor links are not wrapping on the sidebar
- af72f85: chore(nextra-theme-docs): provide type for
DocsThemeConfig.nextThemes
instead ofobject
- 97e6141: fix(nextra/docs): fallback search to
en-US
insteaddefault
- 699d131: feat(nextra/docs/blog): allow import
.md
/.mdx
as well - 03e90d8: refresh build system with tsup and fix nextra type
- 6644bd5: pass unstable_flexsearch
- c15f570: fix: query should not affect nav highlight
- 4730bdc: chore(nextra-theme-docs): refactor
theme-context.ts
- 94a8587: chore: extract
svg
icons in/icons
folder, reusing same icons<MoonIcon />
/<SunIcon />
in blog from docs - e573175: Fix release CI
- c380989: fix(docs): types is missing in bundle
- d34f9f2: feat(nextra-theme-docs): update discord logo to the new one
- 7053959: chore(nextra-theme-docs): remove unneeded
transform-none
css class
- 009bf6a: Fix release workflow.