summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Paul <n@nc0.fr>2023-10-03 15:56:21 +0200
committerNicolas Paul <n@nc0.fr>2023-10-03 16:00:05 +0200
commit700685e9c6691df194391ca04759fa271850b30d (patch)
tree8556835f032d03fee7e8f276907aa20c4dc38ac4
parent6f7db3fcf24a642cbc8cced1ba2466e9615bc9fe (diff)
Make Next build output to out
-rw-r--r--.gitignore3
-rw-r--r--doc/next.config.js12
2 files changed, 8 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index b01b0b1..4df3704 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,4 +36,5 @@
.env
.DS_Store
node_modules
-.next
+.next/
+out/
diff --git a/doc/next.config.js b/doc/next.config.js
index 0bc8949..52fa434 100644
--- a/doc/next.config.js
+++ b/doc/next.config.js
@@ -32,11 +32,11 @@
// knowledge of the CeCILL license and that you accept its terms.
const withNextra = require('nextra')({
- theme: 'nextra-theme-docs',
- themeConfig: './theme.config.tsx'
+ theme: "nextra-theme-docs",
+ themeConfig: "./theme.config.tsx"
})
-module.exports = withNextra()
-
-// If you have other Next.js configurations, you can pass them as the parameter:
-// module.exports = withNextra({ /* other next.js config */ })
+module.exports = withNextra({
+ output: "export",
+ distDir: "out"
+})