Skip to content

Commit 6a4a7c2

Browse files
Merge pull request #13 from no-witness-labs/revert-to-bd01272-proper
Revert to commit bd01272
2 parents 1c88cff + 663b8b0 commit 6a4a7c2

File tree

126 files changed

+538
-778
lines changed

Some content is hidden

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

126 files changed

+538
-778
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
with:
27-
fetch-depth: 0
27+
fetch-depth: 2
2828

2929
- uses: pnpm/action-setup@v4
3030

@@ -67,9 +67,6 @@ jobs:
6767

6868
- run: pnpm turbo run docgen --filter=@evolution-sdk/evolution
6969

70-
# Copy the generated API docs to the docs project
71-
- run: pnpm --filter=@evolution-sdk/docs run copy-evolution-docs
72-
7370
# Build the docs with Next.js static export (output: export in next.config.js)
7471
- run: pnpm --filter=@evolution-sdk/docs run build
7572

docs/codeblocks/pages.examples.Address.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/codeblocks/pages.examples.Data.ts

Lines changed: 0 additions & 75 deletions
This file was deleted.

docs/codeblocks/pages.index.quickstart.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

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-
76
module.exports = withNextra({
87
reactStrictMode: true,
98
trailingSlash: true,
@@ -12,5 +11,5 @@ module.exports = withNextra({
1211
images: {
1312
unoptimized: true
1413
},
15-
basePath: "/evolution-sdk"
14+
basePath: "/evolution-sdk",
1615
})

docs/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"start": "next start",
1010
"export": "next build",
1111
"copy-evolution-docs": "node scripts/copy-evolution-docs.mjs",
12-
"validate-codeblocks": "node scripts/validate-and-update-codeblocks.mjs",
13-
"update-docs": "pnpm run copy-evolution-docs && pnpm run validate-codeblocks"
12+
"prebuild": "pnpm run copy-evolution-docs"
1413
},
1514
"dependencies": {
1615
"next": "^14.0.0",

docs/pages/_meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"index": "Introduction",
33
"getting-started": "Getting Started",
4-
"examples": "Examples",
5-
"reference": "API Reference"
4+
"api": "API Reference",
5+
"guides": "Guides"
66
}

docs/pages/examples/Address.mdx

Lines changed: 0 additions & 26 deletions
This file was deleted.

docs/pages/examples/Data.mdx

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)