Skip to content

Commit ad08e73

Browse files
committed
fix(build): use @buschtoens/documentation
Fixes emberjs#596. Includes a fix for building from `.ts` source files. documentationjs/documentation#1484
1 parent 11701c1 commit ad08e73

File tree

2 files changed

+1199
-1535
lines changed

2 files changed

+1199
-1535
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"prepack": "yarn build && run-s build:*:verify",
2828
"postpack": "yarn clean",
2929
"build": "run-p --aggregate-output build:*",
30-
"build:docs": "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",
30+
"build:docs": "documentation build --pe .ts --pe .d.ts --document-exported \"addon-test-support/@ember/test-helpers/index.ts\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o API.md",
3131
"build:docs:verify": "git diff --quiet API.md || (echo '`API.md` has changed, please run `yarn build:docs` & commit the changes to update the API documentation' && exit 1)",
3232
"build:js": "yarn babel --extensions '.ts' --presets @babel/preset-typescript addon-test-support --out-dir addon-test-support/ --ignore '**/*.d.ts'",
3333
"clean": "run-p --aggregate-output clean:*",
@@ -61,7 +61,7 @@
6161
"@typescript-eslint/parser": "^4.29.0",
6262
"broccoli-babel-preset-typescript": "^1.0.1",
6363
"broccoli-merge-trees": "^4.2.0",
64-
"documentation": "^13.2.5",
64+
"documentation": "npm:@buschtoens/documentation@13.2.6",
6565
"ember-auto-import": "^2.2.0",
6666
"ember-cli": "~3.28.3",
6767
"ember-cli-dependency-checker": "^3.2.0",

0 commit comments

Comments
 (0)