view docs/config.yml @ 415:0e9a94b7fdfa

bake: Improve bake record information. * Store things in the bake record that require less interaction between the master process and the workers. For instance, don't store the paginator object in the render pass info -- instead, just store whether pagination was used, and whether it had more items. * Simplify information passing between workers and bake passes by saving the rendering info to the JSON cache. This means the "render first sub" job doesn't have to return anything except errors now. * Add more performance counter info.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 20 Jun 2015 19:23:16 -0700
parents 2f4412745db2
children 61d53d2163d6
line wrap: on
line source

# Basic stuff.
site:
    title: PieCrust
    author: Ludovic Chabant
    tagline: Freshly baked sites & documents since 2006
    description: A static website generator and flat-file CMS
    pretty_urls: true
    sources:
        docs:
            type: ordered
            data_endpoint: site.docs
            default_layout: doc
    routes:
        -
            url: /docs/%path:slug%
            source: docs
            func: docurl(slug)

baker:
    assets_dirs:
        assets:
            # Ignore stuff that will get concatenated into the main JS file.
            ignore: js/piecrust

smartypants:
    enable: true

# This is 2015, come on Markdown.
markdown:
    extensions: abbr, fenced_code, footnotes, smart_strong

# Need Foundation for CSS/JS. Install with Bower.
sass:
    load_paths:
        - bower_components/foundation/scss

# Using the Sass compiler directly now, but here's how it would look
# like if we were using the whole Compass machinery instead.
compass:
    enable: false
    options: --css-dir %out_dir%/css --generated-images-path %out_dir%/img

# Config variants.
variants:
    # Enable compressors when baking the docs for publishing.
    dist:
        site:
            root: /piecrust/v2/
        baker:
            assets_dirs:
                assets:
                    processors: all