Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(20)  |  Call(20)  |  Derive(0)  |  Import(0)
Adds (or overrides) a processor to handle `node_type`

src/s/t/StrangeCase-4.6.5/strange_case/processors.py   StrangeCase(Download)
    build_node_tree(node, deploy_path, target_path)
    return (node, )
Registry.register('root', root_processor)
 
 
        build_node_tree(node, source_path, target_path)
    return (node, )
Registry.register('folder', folder_processor)
 
 
def asset_processor(config, source_path, target_path):
    node = AssetNode(config, source_path, target_path)
    return (node, )
Registry.register('asset', asset_processor)
    node = node_class(config, source_path, target_path)
    return (node, )
Registry.register('page', page_processor)
 

src/s/t/StrangeCase-HEAD/strange_case/processors.py   StrangeCase(Download)
    build_node_tree(node, deploy_path, target_path)
    return (node, )
Registry.register('root', root_processor)
 
 
        build_node_tree(node, source_path, target_path)
    return (node, )
Registry.register('folder', folder_processor)
 
 
def asset_processor(config, source_path, target_path):
    node = AssetNode(config, source_path, target_path)
    return (node, )
Registry.register('asset', asset_processor)
    node = node_class(config, source_path, target_path)
    return (node, )
Registry.register('page', page_processor)
 

src/s/t/StrangeCase-4.6.5/strange_case/extensions/category.py   StrangeCase(Download)
 
Registry.listen('on_start', reset_category_detail)
Registry.register('category_index', index_processor)
Registry.register('category_detail', detail_processor)
 

src/s/t/StrangeCase-HEAD/strange_case/extensions/category.py   StrangeCase(Download)
 
Registry.listen('on_start', reset_category_detail)
Registry.register('category_index', index_processor)
Registry.register('category_detail', detail_processor)
 

src/s/t/StrangeCase-4.6.5/strange_case/extensions/scss.py   StrangeCase(Download)
    return (scss_node,)
 
Registry.register('scss', processor)
Registry.associate('scss', ['*.scss'])
 

src/s/t/StrangeCase-4.6.5/strange_case/extensions/image.py   StrangeCase(Download)
    return (image_node, ) + tuple(thumbs)
 
Registry.register('image', processor)
Registry.associate('image', ['*.png', '*.jpg', '*.jpeg', '*.gif',
                             '*.PNG', '*.JPG', '*.JPEG', '*.GIF'])

src/s/t/StrangeCase-4.6.5/strange_case/extensions/clevercss.py   StrangeCase(Download)
 
 
Registry.register('clevercss', processor)
Registry.associate('clevercss', ['*.ccss', '*.clevercss'])
 

src/s/t/StrangeCase-HEAD/strange_case/extensions/scss.py   StrangeCase(Download)
    return (scss_node,)
 
Registry.register('scss', processor)
Registry.associate('scss', ['*.scss'])
 

src/s/t/StrangeCase-HEAD/strange_case/extensions/image.py   StrangeCase(Download)
    return (image_node, ) + tuple(thumbs)
 
Registry.register('image', processor)
Registry.associate('image', ['*.png', '*.jpg', '*.jpeg', '*.gif',
                             '*.PNG', '*.JPG', '*.JPEG', '*.GIF'])

src/s/t/StrangeCase-HEAD/strange_case/extensions/clevercss.py   StrangeCase(Download)
 
 
Registry.register('clevercss', processor)
Registry.associate('clevercss', ['*.ccss', '*.clevercss'])
 

  1 | 2  Next