Content Processors

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',)
            }
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.