Skip to content

Commit 3acfe46

Browse files
committed
refactor: Use local jsdoc config instead of package one
1 parent 155c918 commit 3acfe46

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

jsdoc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"opts": {
3+
"mainpagetitle": "contentful.js",
4+
"template": "node_modules/contentful-sdk-jsdoc/jsdoc-template",
5+
"readme": "README.md",
6+
"package": "package.json"
7+
}
8+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build:standalone": "webpack && webpack -p --output-filename contentful.min.js",
1818
"link-dev-deps": "mkdirp node_modules && ln -s ../../contentful-sdk-core/src node_modules/contentful-sdk-core",
1919
"unlink-dev-deps": "rimraf node_modules/contentful-sdk-core",
20-
"docs:build": "jsdoc -r -c ./node_modules/contentful-sdk-jsdoc/jsdoc.json dist",
20+
"docs:build": "jsdoc -r -c ./jsdoc.json dist",
2121
"docs:dev": "npm run build && npm run docs:build",
2222
"docs:watch": "watchy -w lib npm run docs:dev",
2323
"docs:publish": "npm run docs:build && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful.js contentful",

0 commit comments

Comments
 (0)