-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnanoc.yaml
150 lines (116 loc) · 3.6 KB
/
nanoc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
enable_output_diff: true
text_extensions: [ 'atom', 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'rdoc', 'sass', 'scss', 'slim', 'tex', 'ttl', 'txt', 'xhtml', 'xml' ]
# Config for Nanoc commands
checks: &checks
internal_links:
exclude: [ '^/blog/feed' ]
external_links:
exclude: [ 'example.org' ]
deploy:
public:
kind: rsync
dst: "pentandra.com:/srv/http/lifepreserver"
options: [ '-gpPrtvz', '--delete-after' ]
staging:
kind: rsync
dst: "[email protected]:/srv/http/lifepreserver"
options: [ '-gpPrtvz', '--delete-after' ]
prune:
auto_prune: true
view:
static_root: &static_root /static
# Config for Nanoc data sources
data_sources:
- type: filesystem
content_dir: items
- type: dependencies
items_root: /_project
- type: tags
items_root: /_project
- type: vocabularies
items_root: /_project
prefixes_used:
standard: [ cc, ctag, dc, foaf, owl, prov, rdf, rdfs, schema, sioc, skos, xhv ]
business: [ essglobal, fea, rov, vcard ]
open_graph: [ article, og, profile ]
document: [ deo, doco, fabio ]
instances: [ dbo, dbr, yago ]
technical: [ deps, doap, vann, voaf, void ]
pentandra: [ pentandra, pentandra-blog, pentandra-website ]
extra: [ essglobal-activities, essglobal-legalform, essglobal-qualifiers, essglobal-typeoflabour, sioct, xsd ]
- type: company
company_metafile: 'etc/company.yaml'
- type: filesystem
items_root: /static/specifications
content_dir: specifications/playground
layouts_dir: specifications/layouts
# Config for Nanoc environments
environments:
default: &default
base_url: &base_url "https://pentandra.com"
static_root: *static_root
erb:
trim_mode: '>'
kramdown:
auto_ids: true
auto_id_prefix: "sec:"
auto_id_stripping: true
toc_levels: 1..3
syntax_highlighter: nil
header_offset: 1
geungle:
live: false
qrcode:
size: 25
module_size: 2
color: "#544233"
git:
url: "https://github.com/pentandra/lifepreserver.git"
browse_url: "https://github.com/pentandra/lifepreserver"
tag_url: "https://github.com/pentandra/lifepreserver/releases/tag"
version_history_url: "https://github.com/lifepreserver/commits/master"
site: &site
name: Pentandra
motto: Breaking Research Barriers
recent_thoughts_limit: 5
generate_blogmeta: true
base_url: *base_url
images_url: /images
blog: &blog
title: The Pentandra Blog
author_name: Pentandra
author_uri: *base_url
url: /blog
tags_url: /tags
archives_url: /archives
authors_url: /authors
feed_url: /blog/feed
company:
page_url: /company
logo_uri: &logo_uri "https://pentandra.com/images/pentandra-logo.png"
photo_uri: *logo_uri
kind: org
development:
<<: *default
site: # Simplify dependencies for quicker compilation during development
<<: *site
recent_thoughts_limit: 0
generate_blogmeta: false
context2pdf:
debug: true
trackers: [ 'graphics.locating' ]
checks:
<<: *checks
internal_links:
exclude: [ '^/blog/feed', '^/tags', '^/archives', '^/authors' ]
production: &production
<<: *default
require_git_tag: true # All production releases must be at a tag
google_analytics:
code: UA-26002603-1
site: pentandra.com
hypothesis: true
production: true
staging:
<<: *production
require_git_tag: false