Mercurial > piecrust2
comparison docs/config.yml @ 503:61d53d2163d6
docs: Start a proper "code/API" section.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 23 Jul 2015 23:35:11 -0700 |
parents | 2f4412745db2 |
children | 0f777870fbaf |
comparison
equal
deleted
inserted
replaced
502:f07b7562328f | 503:61d53d2163d6 |
---|---|
8 sources: | 8 sources: |
9 docs: | 9 docs: |
10 type: ordered | 10 type: ordered |
11 data_endpoint: site.docs | 11 data_endpoint: site.docs |
12 default_layout: doc | 12 default_layout: doc |
13 api: | |
14 type: ordered | |
15 data_endpoint: site.api | |
16 default_layout: api | |
13 routes: | 17 routes: |
14 - | 18 - |
15 url: /docs/%path:slug% | 19 url: /docs/%path:slug% |
16 source: docs | 20 source: docs |
17 func: docurl(slug) | 21 func: docurl(slug) |
22 - | |
23 url: /api/%path:slug% | |
24 source: api | |
25 func: apiurl(slug) | |
18 | 26 |
19 baker: | 27 baker: |
20 assets_dirs: | 28 assets_dirs: |
21 assets: | 29 assets: |
22 # Ignore stuff that will get concatenated into the main JS file. | 30 # Ignore stuff that will get concatenated into the main JS file. |