Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.next
node_modules
/.idea
.next
node_modules
/.idea
43,066 changes: 21,533 additions & 21,533 deletions README.md

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx'
})

module.exports = withNextra({
async redirects() {
return [
{
// from 'error/message' to 'tips-and-tricks/error-message'
source: '/error/:errorId',
destination: '/tips-and-tricks/:errorId',
permanent: false,
},
{
// from 'doc/:topic' to 'concepts/:topic'
source: '/doc/:topic',
destination: '/concepts/:topic',
permanent: false,
}
]
}
})
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx'
})
module.exports = withNextra({
async redirects() {
return [
{
// from 'error/message' to 'tips-and-tricks/error-message'
source: '/error/:errorId',
destination: '/tips-and-tricks/:errorId',
permanent: false,
},
{
// from 'doc/:topic' to 'concepts/:topic'
source: '/doc/:topic',
destination: '/concepts/:topic',
permanent: false,
}
]
}
});
Loading