comparison docs/config.yml @ 243:26e59f837558

docs: Add embryo of a documentation website.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 19 Feb 2015 08:09:17 -0800
parents
children 64184c9cf487
comparison
equal deleted inserted replaced
242:f130365568ff 243:26e59f837558
1 # Basic stuff.
2 site:
3 title: PieCrust
4 author: Ludovic Chabant
5 tagline: Freshly baked sites & documents since 2006
6 description: A static website generator and flat-file CMS
7 pretty_urls: true
8 sources:
9 docs:
10 type: ordered
11 data_endpoint: site.docs
12 default_layout: doc
13 routes:
14 -
15 url: /docs/%path:slug%
16 source: docs
17 func: docurl(path)
18
19 baker:
20 assets_dirs:
21 assets:
22 # Ignore stuff that will get concatenated into the main JS file.
23 ignore: js/piecrust
24
25 smartypants:
26 enable: true
27
28 # This is 2015, come on Markdown.
29 markdown:
30 extensions: abbr, fenced_code, footnotes, smart_strong
31
32 # Need Foundation for CSS/JS. Install with Bower.
33 sass:
34 load_paths:
35 - bower_components/foundation/scss
36
37 # Using the Sass compiler directly now, but here's how it would look
38 # like if we were using the whole Compass machinery instead.
39 compass:
40 enable: false
41 options: --css-dir %out_dir%/css --generated-images-path %out_dir%/img
42
43 # Config variants.
44 variants:
45 # Enable compressors when baking the docs for publishing.
46 dist:
47 baker:
48 assets_dirs:
49 assets:
50 processors: all
51