Skip to content

Commit

Permalink
feat: add doc.json to public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Oct 4, 2024
1 parent bcc1bfb commit b2de4d7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dist/

# dependencies
node_modules/
kaplay/

# logs
npm-debug.log*
Expand All @@ -23,8 +24,6 @@ pnpm-debug.log*
# jetbrains setting folder
.idea/

doc.json

kaplay/
# integrationns
.wrangler/
public/pagefind
1 change: 1 addition & 0 deletions doc.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/doc.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions scripts/buildDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,11 @@ await fs.writeFile(
groups: sortedGroups,
}),
);

await fs.writeFile(
"public/doc.json",
JSON.stringify({
types,
groups: sortedGroups,
}),
);

0 comments on commit b2de4d7

Please sign in to comment.