Add path filters for plugins #112

Closed
lakshmivyas opened this Issue Nov 23, 2011 · 0 comments

1 participant

@lakshmivyas
Hyde - Static Website Generator member
  • Plugin should execute only if the include_paths matches the node path
  • Plugin should execute only if the include_file_patterns glob matches the resource path
@lakshmivyas lakshmivyas added a commit that referenced this issue Nov 23, 2011
@lakshmivyas lakshmivyas Issue #112: Preparing for adding node and resource filters.
- Moved plugin_name property from CLTransformer to the base class (Plugin)
24883f5
@lakshmivyas lakshmivyas added a commit that referenced this issue Nov 23, 2011
@lakshmivyas lakshmivyas Issue #112: Plugins now support inclusion filters.
 -   `include_file_patterns` property accepts globs to filter by file name.
 -   `include_paths` accepts paths relative to content.
 -   `begin_node` and `node_complete` honor `include_paths`
 -   `begin_text_resource`, `text_resource_complete`, `begin_binary_resource`
      and `binary_resource_complete` honor both.
a69f160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment