Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to docusaurus v3 #1326

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14
18.16
2 changes: 1 addition & 1 deletion docs/ecosystem-user-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: user-event v13
advanced simulation of browser interactions than the built-in
[`fireEvent`](dom-testing-library/api-events.mdx#fireevent) method.

:::caution End of life
:::warning End of life

This page describes `[email protected]`.
This version is no longer maintained. Please use
Expand Down
6 changes: 4 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
title: 'Testing Library',
tagline:
'Simple and complete testing utilities that encourage good testing practices',
Expand Down Expand Up @@ -211,7 +211,6 @@ module.exports = {
docsRepoUrl: 'https://github.com/testing-library/testing-library-docs',
docsPath: 'docs',
},
onBrokenLinks: 'log',
presets: [
[
'@docusaurus/preset-classic',
Expand Down Expand Up @@ -251,6 +250,9 @@ module.exports = {
disableSwitch: false,
respectPrefersColorScheme: true,
},
prism: {
additionalLanguages: ['bash', 'diff', 'json'],
},
navbar: {
title: 'Testing Library',
logo: {
Expand Down
Loading