📝 Introduce auto generate API doc
This commit is contained in:
@@ -12,13 +12,15 @@
|
||||
"serve": "docusaurus serve",
|
||||
"write-translations": "docusaurus write-translations",
|
||||
"write-heading-ids": "docusaurus write-heading-ids",
|
||||
"update-search": "docker run -it --rm --env-file=.env -e \"CONFIG=$(cat docsearch-scrapper-config.json | jq -r tostring)\" algolia/docsearch-scraper"
|
||||
"update-search": "docker run -it --rm --env-file=.env -e \"CONFIG=$(cat docsearch-scrapper-config.json | jq -r tostring)\" algolia/docsearch-scraper",
|
||||
"builder:generate:openapi": "tsx --tsconfig ../builder/tsconfig.json ../builder/src/utils/server/generateOpenApi.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.2.0",
|
||||
"@docusaurus/preset-classic": "2.2.0",
|
||||
"@docusaurus/theme-search-algolia": "2.2.0",
|
||||
"@docusaurus/theme-common": "2.2.0",
|
||||
"docusaurus-preset-openapi": "^0.6.3",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
"@mdx-js/react": "1.6.22",
|
||||
@@ -42,7 +44,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@algolia/client-search": "4.14.2",
|
||||
"@docusaurus/types": "^2.2.0",
|
||||
"@types/react": "18.0.25",
|
||||
"tsx": "3.12.1",
|
||||
"typescript": "4.9.3",
|
||||
"webpack": "5.75.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user