Skip to content

Commit c25dacf

Browse files
committed
Add the documentation dependency for generation documentation
Fix docs command
1 parent ce8a360 commit c25dacf

File tree

2 files changed

+1513
-1
lines changed

2 files changed

+1513
-1
lines changed

addon/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
],
3838
"scripts": {
3939
"build": "rollup --config",
40-
"build:docs": "pnpm build && documentation build --document-exported \"addon-test-support/@ember/test-helpers/index.js\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o ../API.md",
40+
"build:docs": "pnpm build && documentation build --document-exported \"./dist/index.js\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o ../API.md",
4141
"lint": "concurrently 'pnpm:lint:*(!fix)' --names 'lint:'",
4242
"lint:fix": "concurrently 'pnpm:lint:*:fix' --names 'fix:'",
4343
"lint:js": "eslint . --cache",
@@ -68,6 +68,7 @@
6868
"@typescript-eslint/parser": "^8.2.0",
6969
"babel-plugin-ember-template-compilation": "^2.2.5",
7070
"concurrently": "^8.2.2",
71+
"documentation": "^14.0.3",
7172
"ember-source": "^5.11.0",
7273
"eslint": "^8.56.0",
7374
"eslint-config-prettier": "^9.1.0",

0 commit comments

Comments
 (0)