How to exclude an entire directory...

528 views
Skip to first unread message

mattb

unread,
Jan 11, 2012, 7:04:16 PM1/11/12
to JSDoc Users
How do you exclude a directory from the docs?

Tim Statler

unread,
Jan 11, 2012, 7:11:51 PM1/11/12
to mattb, JSDoc Users
I haven't made use of this myself, but conf.json has a source/excludePattern:

"source": {
"includePattern": ".+\\.js(doc)?$",
"excludePattern": "(^|\\/)_"
},

You would need to create the exclude pattern (regular expression) to
filter out that directory.

Tim

On Wed, Jan 11, 2012 at 4:04 PM, mattb <mattb...@gmail.com> wrote:
> How do you exclude a directory from the docs?
>

> --
> You received this message because you are subscribed to the Google Groups "JSDoc Users" group.
> To post to this group, send email to jsdoc...@googlegroups.com.
> To unsubscribe from this group, send email to jsdoc-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jsdoc-users?hl=en.
>

Matt Bryson

unread,
Jan 11, 2012, 7:17:24 PM1/11/12
to tim.s...@gmail.com, JSDoc Users

Great,

I'm rubbish at regEx, always takes me ages to get it to work!

Any idea what it would be to remove 'tests/lib' path ?

Reply all
Reply to author
Forward
0 new messages