Skip to content

Commit

Permalink
feat: doc website: add MultiversX; upgrade to latest typedoc, docusau…
Browse files Browse the repository at this point in the history
…rus.
  • Loading branch information
benoitdevos committed Oct 30, 2023
1 parent 119532f commit 62da06c
Show file tree
Hide file tree
Showing 14 changed files with 299 additions and 280 deletions.
6 changes: 1 addition & 5 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,5 @@
"engines": {
"node": ">=18"
},
"stableVersion": "0.2.0",
"typedoc": {
"entryPoint": "./src/index.ts",
"displayName": "Client"
}
"stableVersion": "0.2.0"
}
6 changes: 6 additions & 0 deletions packages/client/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Client",
"entryPoints": [
"./src/index.ts"
]
}
6 changes: 1 addition & 5 deletions packages/crossmint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,5 @@
"engines": {
"node": ">=16"
},
"stableVersion": "0.1.0",
"typedoc": {
"entryPoint": "./src/index.ts",
"displayName": "Crossmint"
}
"stableVersion": "0.1.0"
}
6 changes: 6 additions & 0 deletions packages/crossmint/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Crossmint",
"entryPoints": [
"./src/index.ts"
]
}
6 changes: 1 addition & 5 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,5 @@
"engines": {
"node": ">=16"
},
"stableVersion": "0.1.0",
"typedoc": {
"entryPoint": "./src/index.ts",
"displayName": "Extension"
}
"stableVersion": "0.1.0"
}
6 changes: 6 additions & 0 deletions packages/extension/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Extension",
"entryPoints": [
"./src/index.ts"
]
}
6 changes: 1 addition & 5 deletions packages/multiversx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,5 @@
"engines": {
"node": ">=16"
},
"stableVersion": "0.1.0",
"typedoc": {
"entryPoint": "./src/index.ts",
"displayName": "MultiversX"
}
"stableVersion": "0.1.0"
}
6 changes: 6 additions & 0 deletions packages/multiversx/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "MultiversX",
"entryPoints": [
"./src/index.ts"
]
}
4 changes: 0 additions & 4 deletions packages/node-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,5 @@
"engines": {
"node": ">=18"
},
"typedoc": {
"entryPoint": "./src/index.ts",
"displayName": "Node API"
},
"type": "module"
}
6 changes: 6 additions & 0 deletions packages/node-api/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Node API",
"entryPoints": [
"./src/index.ts"
]
}
13 changes: 6 additions & 7 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@
"api-doc": "typedoc"
},
"dependencies": {
"@docusaurus/core": "^2.4.0",
"@docusaurus/preset-classic": "^2.4.0",
"@docusaurus/core": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.4.0",
"@tsconfig/docusaurus": "^1.0.5",
"typedoc": "^0.23.20",
"typedoc-plugin-markdown": "^3.13.6",
"typedoc-plugin-resolve-crossmodule-references": "^0.3.2",
"@docusaurus/module-type-aliases": "^2.4.3",
"@tsconfig/docusaurus": "^2.0.2",
"typedoc": "^0.25.3",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^4.7.4"
},
"browserslist": {
Expand Down
1 change: 1 addition & 0 deletions website/src/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
- [Client](modules/Client.md)
- [Crossmint](modules/Crossmint.md)
- [Extension](modules/Extension.md)
- [MultiversX](modules/MultiversX.md)
- [Node API](modules/Node_API.md)
3 changes: 2 additions & 1 deletion website/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"$schema": "https://typedoc.org/schema.json",
"out": "docs/api",
"plugin": ["typedoc-plugin-markdown", "typedoc-plugin-resolve-crossmodule-references"],
"plugin": ["typedoc-plugin-markdown"],
"excludeExternals": false,
"entryPointStrategy": "packages",
"entryPoints": [
"../packages/client",
"../packages/crossmint",
"../packages/extension",
"../packages/multiversx",
"../packages/node-api"
],
"readme": "src/API.md",
Expand Down
Loading

0 comments on commit 62da06c

Please sign in to comment.