Skip to content

Commit a6faef9

Browse files
committed
refactor: ♻️ copy theme into the repo to customize it completly
1 parent 9229ba7 commit a6faef9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+5292
-51
lines changed

next.config.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
const withNextra = require('nextra')({
2-
theme: 'nextra-theme-docs',
1+
/** @type{import('nextra').NextraConfig} */
2+
const config = {
3+
theme: './src/theme/index.tsx',
34
themeConfig: './theme.config.tsx',
4-
})
5+
staticImage: true
6+
}
7+
8+
const withNextra = require('nextra')(config)
59

610
module.exports = withNextra()

0 commit comments

Comments
 (0)