Skip to content
Browse files

Update ndoc config and make task

  • Loading branch information...
1 parent 12740c8 commit 7294845994358ee44a1a1ec9e6528ea806612421 @ixti ixti committed Jul 8, 2012
Showing with 30 additions and 12 deletions.
  1. +29 −6 .ndocrc
  2. +1 −6 Makefile
View
35 .ndocrc
@@ -1,6 +1,29 @@
---index "./README.md"
---package "./package.json"
---gh-ribbon "{package.homepage}"
---output "doc"
---render "html"
---link-format "{package.homepage}/blob/master/{file}#L{line}"
+#
+# Common nodeca config
+################################################################################
+
+--index "./README.md"
+--package "./package.json"
+--gh-ribbon "{package.homepage}"
+--output "doc"
+--render "html"
+--link-format "{package.homepage}/blob/master/{file}#L{line}"
+--broken-links "throw"
+
+
+#
+# Paths with sources
+################################################################################
+
+lib
+
+
+#
+# Project specific configuration
+################################################################################
+
+--exclude "lib/ndoc/plugins/renderers/html/assets/**"
+--exclude "lib/ndoc/plugins/renderers/html/vendors/**"
+--exclude "lib/ndoc/plugins/parsers/javascript/parser.js"
+
+--show-all
View
7 Makefile
@@ -93,12 +93,7 @@ playground: $(DOCS)
doc: lib
rm -fr doc
- $(ROOT)/bin/ndoc lib \
- --exclude 'lib/ndoc/plugins/renderers/html/assets/**' \
- --exclude 'lib/ndoc/plugins/renderers/html/vendors/**' \
- --exclude 'lib/ndoc/plugins/parsers/javascript/parser.js' \
- --link-format "{package.homepage}/blob/${CURR_HEAD}/{file}#L{line}" \
- --show-all
+ $(ROOT)/bin/ndoc --link-format "{package.homepage}/blob/${CURR_HEAD}/{file}#L{line}"
test-prototype:
rm -fr ./tests/prototype-doc

0 comments on commit 7294845

Please sign in to comment.
Something went wrong with that request. Please try again.