Skip to content

Commit

Permalink
chore(dox): update api generator
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Oct 26, 2023
1 parent 8030459 commit 2c6bd78
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 66 deletions.
2 changes: 1 addition & 1 deletion Documentation/generate-api-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function doxToMD(items) {
description: stripPTags(arg.description),
required: !arg.name.startsWith(`[`),
types:
arg.typesDescription === `<code>*</code>`
arg.typesDescription === `*`
? `any`
: arg.types.join(` or `),
})),
Expand Down
130 changes: 67 additions & 63 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"dotenv": "16.3.1",
"dox": "0.9.1",
"dox": "1.0.0",
"eslint": "8.52.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.0.0",
Expand Down Expand Up @@ -230,4 +230,4 @@
"publishConfig": {
"access": "public"
}
}
}

0 comments on commit 2c6bd78

Please sign in to comment.