mirror of https://github.com/arc53/DocsGPT
Bump dependencies & support next 14 for docs
- Renamed _app.js to mdx (for Next 14) - Lint next config file & package.jsonpull/820/head
parent
d5945f9ee7
commit
6db38ad769
@ -1,9 +1,9 @@
|
|||||||
const withNextra = require('nextra')({
|
const withNextra = require('nextra')({
|
||||||
theme: 'nextra-theme-docs',
|
theme: 'nextra-theme-docs',
|
||||||
themeConfig: './theme.config.jsx'
|
themeConfig: './theme.config.jsx'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
module.exports = withNextra()
|
||||||
|
|
||||||
module.exports = withNextra()
|
// If you have other Next.js configurations, you can pass them as the parameter:
|
||||||
|
// module.exports = withNextra({ /* other next.js config */ })
|
||||||
// If you have other Next.js configurations, you can pass them as the parameter:
|
|
||||||
// module.exports = withNextra({ /* other next.js config */ })
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"scripts":{
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start"
|
"start": "next start"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vercel/analytics": "^1.0.2",
|
"@vercel/analytics": "^1.1.1",
|
||||||
"docsgpt": "^0.2.4",
|
"docsgpt": "^0.2.4",
|
||||||
"next": "^13.5.1",
|
"next": "^14.0.4",
|
||||||
"nextra": "^2.12.3",
|
"nextra": "^2.13.2",
|
||||||
"nextra-theme-docs": "^2.12.3",
|
"nextra-theme-docs": "^2.13.2",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue