aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChinCluBi <[email protected]>2016-09-27 03:19:14 +0700
committerChinCluBi <[email protected]>2016-09-27 03:19:14 +0700
commita130925b97144555856ae3e324bde9dbd7b62748 (patch)
treecacddf76e8ee288ace967296cbb5c7b0200167c8
parent44bb2b99b133b431fafffc53accb4605797a7162 (diff)
downloadfaker-a130925b97144555856ae3e324bde9dbd7b62748.tar.xz
faker-a130925b97144555856ae3e324bde9dbd7b62748.zip
include image_provider folder to create a doc
-rw-r--r--conf.json5
-rw-r--r--package.json2
2 files changed, 6 insertions, 1 deletions
diff --git a/conf.json b/conf.json
index 24276443..b71600fc 100644
--- a/conf.json
+++ b/conf.json
@@ -3,6 +3,11 @@
"destination": "../doc/"
},
+ "source": {
+ "include": ["lib", "lib/image_providers"],
+ "exclude": ["lib/locales"]
+ },
+
"plugins": [
"plugins/markdown"
]
diff --git a/package.json b/package.json
index 065ed654..f9bcc72a 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"lint": "node_modules/.bin/jshint ./lib --config ./.jshintrc",
"test": "node_modules/.bin/mocha test/*.*.js",
"build": "gulp --gulpfile build/gulpfile.js",
- "doc": "jsdoc -c conf.json -t ./node_modules/ink-docstrap/template -R README.md lib"
+ "doc": "jsdoc -c conf.json -t ./node_modules/ink-docstrap/template -R README.md"
},
"devDependencies": {
"browserify": "5.11.1",