node package manager


DocPad plugin that disables writing to the /out dir for .inc.* files

Ignore-Includes Plugin for DocPad

Avoids writing files that are intended to be included in other files to the /out directory. Very handy for stylesheet .less or .styl files that you wish to @import into the main stylesheet file.

docpad install ignoreincludes

See here for a detailed explanation of why I created this plugin and why you might want to use it.

Any files with an extension matching .inc.* will not be written to the /out directory.

You can also customise which output extensions are to be ignored via the ignoreExtensions config option. E.g.

        ignoreExtensions: ['inc', 'abc']

Rename your stylus include files with a .inc.styl extension. Then import them into your main stylesheet. E.g.

@import ''
@import ''

Discover the change history by heading on over to the file.

Discover how you can contribute by heading on over to the file.

These amazing people are maintaining this project:

No sponsors yet! Will you be the first?

These amazing people have contributed code to this project:

Become a contributor!

Licensed under the incredibly permissive MIT license

Copyright © Richard Antecki (