Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ core/lib/*
executor/lib/*
coverage
.DS_store
docs-src/api.md
docs-src/typedoc
docs-src/_book
docs-src/.next
docs-src/pages/jsdoc
host/dist
host/build

Expand Down Expand Up @@ -66,7 +61,12 @@ rust-executor/CUSTOM_DENO_SNAPSHOT.bin
rust-executor/test_data

.npmrc
docs-src/
docs-src/out
docs-src/api.md
docs-src/typedoc
docs-src/_book
docs-src/.next
docs-src/pages/jsdoc
.worktrees/
CUSTOM_DENO_SNAPSHOT.bin
waker-bridge/package-lock.json
9 changes: 9 additions & 0 deletions docs-src/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const withNextra = require("nextra")({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.tsx",
});

module.exports = withNextra({
images: { unoptimized: true },
output: "export",
});
6 changes: 3 additions & 3 deletions docs-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"scripts": {
"dev": "next dev",
"start": "next start",
"build": "pnpm run typedoc && next build",
"build": "pnpm run typedoc && next build && rm -rf ../docs && mv out ../docs",
"typedoc": "typedoc --options typedoc.json ../core/src"
},
"dependencies": {
"next": "^13.0.6",
"nextra": "latest",
"nextra-theme-docs": "latest",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Loading