Skip to content

Commit

Permalink
feat: Add typedoc references generation (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
stocaaro authored Feb 4, 2025
1 parent 35d1456 commit af98dd4
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/four-lies-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ lib-esm
dist
node_modules
tsconfig.tsbuildinfo
typedocs/reference.json

.turbo
.idea
Expand Down
174 changes: 172 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"test": "turbo run test && npm run test:scripts && npm run e2e-exports",
"test:scripts": "npx jest scripts/",
"turbo": "turbo",
"typedoc": "typedoc",
"vend": "npm run start:npm-proxy && npm run publish:local"
},
"devDependencies": {
Expand Down Expand Up @@ -80,6 +81,7 @@
"ts-jest": "^29.1.1",
"tsx": "^4.8.2",
"turbo": "^1.10.14",
"typedoc": "^0.27.6",
"typescript": "^5.1.6",
"verdaccio": "^6.0.2"
},
Expand Down
16 changes: 16 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Amplify Data API Documentation",
"entryPointStrategy": "packages",
"entryPoints": [
"packages/data-schema",
"packages/data-schema-types",
],
"json": "typedocs/reference.json",
"sortEntryPoints": false,
"includeVersion": false,
"hideGenerator": true,
"navigationLinks": {
},
"plugin": [
],
}

0 comments on commit af98dd4

Please sign in to comment.