Skip to content

Commit

Permalink
chore: update nextra@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Dec 4, 2024
1 parent 9972766 commit 94d0fff
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
13 changes: 0 additions & 13 deletions next.config.js

This file was deleted.

19 changes: 19 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import nextra from 'nextra'

const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './src/theme.config.tsx',
latex: true,
search: {
codeblocks: false
}
})

export default withNextra({
reactStrictMode: true,
output: 'export',
basePath: process.env.BASE_PATH ?? '',
images: {
unoptimized: true
}
})
3 changes: 3 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function App({ Component, pageProps }) {
return <Component {...pageProps} />
}

0 comments on commit 94d0fff

Please sign in to comment.