Browse files

misc

  • Loading branch information...
1 parent c3f3c31 commit 68cd1ec99cb261217a7ad5b236e44ed7badf5a3a @tj committed Apr 18, 2011
Showing with 9 additions and 3 deletions.
  1. +5 −1 Makefile
  2. +2 −2 lib/dox.js
  3. +2 −0 templates/default/page.jade
View
6 Makefile
@@ -12,4 +12,8 @@ docs:
--github visionmedia/dox \
--index index.md
-.PHONY: test docs
+doc-server:
+ @./bin/dox \
+ --server docs
+
+.PHONY: test docs doc-server
View
4 lib/dox.js
@@ -5,7 +5,7 @@
* MIT Licensed
*/
-/**
+/*!
* Module dependencies.
*/
@@ -77,7 +77,7 @@ exports.parseComments = function(js){
/**
* Parse the given comment `str`.
*
- * The comment object returned contains the following:
+ * The comment object returned contains the following
*
* - `tags` array of tag objects
* - `description` the first line of the comment
View
2 templates/default/page.jade
@@ -7,5 +7,7 @@ h1= filename.split('/').slice(-1)[0]
.comment
h2= comment.ctx.string
.summary!= comment.description.summary
+ - if (comment.description.body.length)
+ .body!= comment.description.body
code
pre!= comment.code

0 comments on commit 68cd1ec

Please sign in to comment.