Skip to content
montecristo edited this page Sep 13, 2010 · 1 revision

Pass-through Processor

Subdirectories of the CONTENT_DIR handed to the Pass-through Processor will be skipped by the templating engine and copied to the DEPLOY_DIR intact. This is convenient, if the subdirectories contain file types that cannot be handled by the templating engine; Sphinx-generated documentation suites are one example.

Configuration

Assume one has a CONTENT_DIR/prerendered/ subdirectory, which should not be processed.


CONTENT_PROCESSORS = {
    'prerendered/': {
        '*.*' : 
            ('hydeengine.content_processors.PassthroughProcessor',)
            }
}