Update Docs - Major Revisions to v3 (major) #214
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.13.4
->^3.0.0
^2.13.4
->^3.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
shuding/nextra (nextra)
v3.0.8
Compare Source
Patch Changes
72c84eb
: addmax-md:_overflow-hidden
instead of_overflow-hidden
whenhamburger is clicked
1530239
: hide<summary>
marker on Safari210d68a
: trigger scrolling when the TOC item is outside the viewportbf04f96
: add ring-inset for navbar linksv3.0.7
Compare Source
Patch Changes
4bbc1fe
]v3.0.6
Compare Source
Patch Changes
4ed7b4b
: remove extra horizontal margin spacing in tocv3.0.5
Compare Source
Patch Changes
3aac732
: Add.nextra-search-results
class backv3.0.4
Compare Source
Patch Changes
84fc255
: should get rightactiveType
,activeThemeContext
even when someparent has
display: 'hidden'
9b6595d
: Ensure the jump link behavior is consistent in Markdown.f3a5575
: add a scrollbar for nav links in the header when they exceedavailable free space
84a8a41
]659b36e
]84fc255
]v3.0.3
Compare Source
Patch Changes
9d93caf
: RTL support for the<Steps>
component.5fbce2f
: Added golang logo for code blocks.82fc267
]edc6c29
]9d93caf
]5fbce2f
]v3.0.2
Compare Source
Patch Changes
b6341f7
: remove warningWatchpack Error (initial scan): Error: ENOTDIR: not a directory, scandir 'path-to-your-node_modules/next/dist/pages/_app.js'
v3.0.1
Compare Source
Patch Changes
d9d0820
: fix unclickable links on mobilev3.0.0
Compare Source
Major Changes
e7e8e84
: show react components, variable interpolation and latex in tocc7f03e5
: removetoc.headingComponent
ea1a736
: removenext-seo
anduseNextSeoProps
, usehead
option insteadc2ad837
: update to MDX3148278c
: rename tailwind prefixnx-
to_
to reduce bundle size919fe97
: set"peerDependencies.next": ">=13"
47b125d
: fix global style conflicts for<a>
/<button>
/<summary>
/<input>
/[tabindex]:not([tabindex='-1']
ba30c6c
: use render props for className withselected
,disabled
andhover
state for<Tab>
d7d8a3e
: new styles for code blocks aka in next.js2872606
: removeimage
prop from<Card>
component, image will be showedbased on truthiness
children
prop nowset
icon
as optional prop63ca28b
: Remove support of "_meta.json", use "_meta.{js,jsx,ts,tsx}"instead.
ebe652d
: removesidebar.titleComponent
, use JSX for styling separators andtitles
eca7535
: - removeSteps
,Callout
,Tabs
,Tab
,Cards
,Card
,FileTree
exports, export them now fromnextra/components
useMDXComponents
export, export it now fromnextra/mdx
sidebar.toggleButton
to true128e195
: fix React warning, remove PageOpts.toc, usetoc
prop fromcomponents.wrapper
63ca28b
: removeconfig.serverSideError
f2dd18d
: - rename theme config optionsi18n.text
→i18n.name
banner.text
→banner.content
editLink.text
→editLink.content
footer.text
→footer.content
198dbcc
: use toc with JSX elements for remote content191e6c4
: - useshikiji
instead ofshiki
useSSG
touseData
6eb3118
: renameprimaryHue
andprimarySaturation
theme options tocolor.hue
andcolor.saturation
c7f03e5
: renamepageOpts.headings
totoc
8c1b9d5
: remove<MatchSorterSearch>
Minor Changes
eb943d0
: addtheme.topContent
andtheme.bottomContent
0fe55db
: addimport { useRouter } from 'nextra/hooks'
for fetchinglocale
and
defaultLocale
c77485e
: set defaulthead
option asnull
1dcb91a
: exportuseThemeConfig
6ec3241
: Add Terraform/Move icon #2811#2808
5a63701
: add icons for following languages:graphql
)c++
,cpp
)csharp
,c#
,cs
)python
,py
)allow disallow mobile word wrap button in code blocks with
word-wrap=false
meta data setting
a52a869
: addfrontmatter.sidebarTitle
support for setting page label insidebar via frontmatter
6ec3241
: Make the<Tab>
component be crawlable and indexable by searchengines by default
b47880d
: exportuseMenu
hookb776b16
: addbackgroundColor.light
andbackgroundColor.dark
theme options6070b02
: renamefrontmatter.sidebar_label
tofrontmatter.sidebarTitle
3043826
: add shikiji twoslashDemo feature:
https://nextra-v2-na3obnhub-shuding1.vercel.app/docs/guide/twoslash-support
6070b02
: moveremoveLinks
function fromnextra-theme-docs
tonextra/remove-links
962cea6
: allowitems: Map
fortype: 'menu'
since object can't guaranty theinsertion order
440ff42
: add MathJax support1a97327
: keeploading
,placeholder
andthemeSwitch.useOptions
defaulttheme options only for
en
langPatch Changes
b045cc3
: fix invisible mobile menu after click on hamburgereeb4c4c
: enableoutline: 'none'
only for:focus-visible
state, to fixdouble ring in Firefox
376b895
: fixes case when settingdisabled: true
on the scroll to top buttonprevents scrolling to most top
scroll to most top in toc element too
34e25cd
: migrate search to@headlessui/react
Combobox73239c4
: To ensure consistent horizontal padding, set the default language asplaintext for code blocks. This prevents any loss of formatting for code
blocks without a specified language.
57f3963
: Remove intersection-observer polyfill2b9b95b
: migrate to@headlessui/react
v27457d6b
: removegit-url-parse
to keep bundle smaller2a3e3e7
: Fix first list item in<FileTree>
not within permitted parentelements
6070b02
: loadflexsearch
dynamically to reduce bundle size0b4d43b
: Avoid the sidebar collapse having unintended animations whensidebar.autoCollapse
is set totrue
.31c2ee7
: fixremoveLinks
when input node is linkbf963cd
: Remove the aria-hidden attribute from scroll-to-top button when it isvisible
829c417
: - fix overflow when clicking on<details>
with open state<details>
with open statecb24790
: fix brokenexport default
statement in mdx filesde56507
: fix vertical margin for nested ordered<ol>
and unordered<ul>
lists
8c99baf
: enhance search input to better support CJK language usersa8c2196
: use dynamic import for loadingmermaid
0b5cc9d
: make nextra compatible with windows7b0b7e9
: fix page scroll jump while entering characters in the search input45471df
: fix “Scroll to top” is not supposed to be interactable when it ishidden.
display:children
doesn't collapse breadcrumbshide external links from pagination
remove xmlns attribute from icons
8ffe2fe
: remove focus-visible polyfillfe5061b
: fix for remote docs6945f38
: fix not rendered default<meta name="description" />
and<meta property="og:description" />
1a634cd
: remove explicitZodError
assertionad108ff
: useoverflow-x-auto
insteadoverflow-x-scroll
for<Table>
4f0f6b2
: Omit...{:type}
inline code annotations from search index #2922150184b
: attach heading anchorid
attribute to heading (like Pagefind do)and fix heading anchor styles when
theme.typesetting: 'article'
is set80c9764
: ensure zod is removed from production build with/* @​__PURE__ */
comments
9df7f58
: Fix nav-links not highlighting on hover in dark mode7bb18e3
: Add a generic forthemeConfig
inNextraThemeLayoutProps
toimprove type inference.
9b41180
:backToTop
is hidden when enabled but whentoc.extraContent
,feedback.content
andeditLink.component
are falsy6f4c83a
: fix unclickable links in TOCallow passing
recmaPlugins
inmdxOptions
f255696
: Improve styles for reduced motion preferences9f55bd1
: update rehype-pretty-code/shikiji to latestd21634d
: exportgetComponents
452e5bd
: Add<Playground>
componenthttps://nextra-v2-9x7fp6hti-shud.vercel.app/docs/guide/advanced/playground
e95faa1
: - fixed<summary>
lost whitespaces when there is some HTML elementinside
<summary>
was not rendered when<details>
text content follows directly after
<summary>
elementccaf3d4
: Add theautoImportThemeStyle
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 theactive anchor intersection observer
2630461
: fixTypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
on dev environment when
frontMatter.searchable: false
217f708
: update next-themesfix wrong numbering for nested
<Steps>
ca51306
: Enhance focus ring style consistency.f662237
: avoid focus-visible style being cut off by overflow-hidden3c6193d
: Remove unnecessarysortPages
fromserver/utils.ts
1a97327
: Update thebackToTop
option in the docs theme configuration tosupport i18n
799174f
: fixed react warningWarning: React has detected a change in the order of Hooks called by Body
when
themeConfig.main
options is used363b85f
: addflex-shrink: 0
for indent inFileTree
for<Ident>
and svgicons in
<Folder>
and<File>
237c345
: Make React 18 as minimal requirementeb943d0
: hardcode flexsearch version to 0.7.31, because package is broken on0.7.41
ad108ff
: fix<Bleed>
overflows incorrectly in firefox4fb2452
: fix invisible mobile menu whenlayout: "raw"
is specified in _metafile
7faa096
: fix visible hidden pages on mobile which set up withdisplay: 'hidden'
315ca82
: remove possible links in toc elementsa95e745
: Fix the line highlighting background-color does not extend to thefull width of the code block when a scrollbar appears with line numbers.
363b85f
: fixRangeError: Maximum call stack size exceeded
infindSummary
when
child.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
]Configuration
📅 Schedule: Branch creation - "on wednesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.