Skip to content

Commit

Permalink
Create next.config.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
rolodexter committed Dec 4, 2024
1 parent 59c8e5f commit 792792e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import nextra from 'nextra'

const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx'
})

export default {
...withNextra(),
output: 'export',
basePath: process.env.GITHUB_ACTIONS ? '/Human-Allo' : '',
assetPrefix: process.env.GITHUB_ACTIONS ? '/Human-Allo/' : ''
}

0 comments on commit 792792e

Please sign in to comment.