]> git.r.bdr.sh - rbdr/heart/commitdiff
Configure jsdoc + fix package.json
authorBen Beltran <redacted>
Thu, 10 Nov 2016 04:23:58 +0000 (22:23 -0600)
committerBen Beltran <redacted>
Thu, 10 Nov 2016 04:23:58 +0000 (22:23 -0600)
.gitignore
config/jsdoc.json [new file with mode: 0644]
package.json

index 5148e527a7e286a1efcc44d65a7f8241267dce9b..88d9795c45cade429e5f9fa01bbee8bb40d6b0a3 100644 (file)
@@ -35,3 +35,6 @@ jspm_packages
 
 # Optional REPL history
 .node_repl_history
 
 # Optional REPL history
 .node_repl_history
+
+# Documentation
+doc
diff --git a/config/jsdoc.json b/config/jsdoc.json
new file mode 100644 (file)
index 0000000..9e05753
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "plugins": ["plugins/markdown"],
+  "opts": {
+    "destination": "doc",
+    "readme": "README.md",
+    "template": "node_modules/docdash",
+    "recurse": true
+  }
+}
index c922b5668b8e285a6597ff8e6d28f2d97f321129..e9e53a6de70f73f229e0162939c1a99ec0a4a4b4 100644 (file)
@@ -5,7 +5,7 @@
   "main": "index.js",
   "scripts": {
     "lint": "eslint .",
   "main": "index.js",
   "scripts": {
     "lint": "eslint .",
-    "document": "jsdoc ."
+    "document": "jsdoc ./js -c config/jsdoc.json",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "repository": {
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "repository": {