Git Product home page Git Product logo

docpad-plugin-ignoreincludes's Introduction

Ignore-Includes Plugin for DocPad

Build Status NPM version Dependency Status Development Dependency Status

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.

Install

docpad install ignoreincludes

The Motivation

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

Usage

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.

plugins:
	ignoreincludes:
		ignoreExtensions: ['inc', 'abc']

Stylus @import Example

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

@import 'myinclude1.inc'
@import 'myinclude2.inc'

History

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

Contribute

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

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Licensed under the incredibly permissive MIT license

Copyright © Richard Antecki [email protected] (richard.antecki.id.au)

docpad-plugin-ignoreincludes's People

Contributors

rantecki avatar robloach avatar

Watchers

André König avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.