Skip to content

Commit 1c88cff

Browse files
Merge pull request #12 from no-witness-labs/fix/deploy-docs-6
fix: docs
2 parents d33936c + f9eccbc commit 1c88cff

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/next.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const withNextra = require("nextra")({
33
themeConfig: "./theme.config.tsx"
44
})
55

6-
const isGitHubPages = process.env.GITHUB_ACTIONS === 'true'
76

87
module.exports = withNextra({
98
reactStrictMode: true,
@@ -13,5 +12,5 @@ module.exports = withNextra({
1312
images: {
1413
unoptimized: true
1514
},
16-
basePath: isGitHubPages ? "/evolution-sdk" : "",
15+
basePath: "/evolution-sdk"
1716
})

docs/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
"export": "next build",
1111
"copy-evolution-docs": "node scripts/copy-evolution-docs.mjs",
1212
"validate-codeblocks": "node scripts/validate-and-update-codeblocks.mjs",
13-
"validate-codeblocks-safe": "node scripts/validate-and-update-codeblocks.mjs",
14-
"prebuild": "pnpm run copy-evolution-docs && (pnpm run validate-codeblocks-safe || true)",
1513
"update-docs": "pnpm run copy-evolution-docs && pnpm run validate-codeblocks"
1614
},
1715
"dependencies": {
@@ -25,7 +23,6 @@
2523
"@types/node": "^20.0.0",
2624
"@types/react": "^18.2.0",
2725
"@types/react-dom": "^18.2.0",
28-
"tsx": "^4.7.0",
2926
"typescript": "^5.0.0"
3027
}
3128
}

0 commit comments

Comments
 (0)