|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
text_extensions: [ 'coffee', 'css', 'adoc', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ]
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
output_dir: output
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
index_filenames: [ 'index.html' ]
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
enable_output_diff: true
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
prune:
|
|
 |
e8ec7a |
# Whether to automatically remove files not managed by nanoc from the output
|
|
 |
e8ec7a |
# directory. For safety reasons, this is turned off by default.
|
|
 |
e8ec7a |
auto_prune: true
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
# .git, .svn etc.
|
|
 |
e8ec7a |
exclude: [ '.git', '.hg', '.svn', 'CVS' ]
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
# The data sources where nanoc loads its data from. This is an array of
|
|
 |
e8ec7a |
# hashes; each array element represents a single data source. By default,
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
# “layout/” directories in the site directory.
|
|
 |
e8ec7a |
data_sources:
|
|
 |
e8ec7a |
-
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
type: filesystem_unified
|
|
 |
e8ec7a |
|
|
 |
fdc62c |
|
|
 |
fdc62c |
encoding: utf-8
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
items_root: /
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
layouts_root: /
|
|
 |
e8ec7a |
-
|
|
 |
e8ec7a |
type: static
|
|
 |
e8ec7a |
items_root: /static/
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
allow_periods_in_identifiers: false
|
|
 |
e8ec7a |
base_url: http:
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
# Configuration for the “watch” command, which watches a site for changes and
|
|
 |
e8ec7a |
# recompiles if necessary.
|
|
 |
e8ec7a |
watcher:
|
|
 |
e8ec7a |
# A list of directories to watch for changes. When editing this, make sure
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
dirs_to_watch: [ 'content', 'layouts', 'lib' ]
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
# A list of single files to watch for changes. As mentioned above, don’t put
|
|
 |
e8ec7a |
# any files from the “output/” or “tmp/” directories in here.
|
|
 |
e8ec7a |
files_to_watch: [ 'nanoc.yaml', 'Rules' ]
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
# When to send notifications (using Growl or notify-send).
|
|
 |
e8ec7a |
notify_on_compilation_success: true
|
|
 |
e8ec7a |
notify_on_compilation_failure: true
|
|
 |
e8ec7a |
|
|
 |
e8ec7a |
#Deployment
|
|
 |
e8ec7a |
deploy:
|
|
 |
622393 |
prod:
|
|
 |
e8ec7a |
kind: rsync
|
|
 |
622393 |
dst: "webcontent@web.p5.centos.org:/var/www/html/websitev2"
|
|
 |
ab7a22 |
options: [ '-aP', '--delete-after', '--exclude="*.csv"', '--exclude="*.rss"' ]
|
|
 |
40b081 |
backup:
|
|
 |
e8ec7a |
kind: rsync
|
|
 |
40b081 |
dst: "webcontent@www.lon0.centos.org:/var/www/html/websitev2"
|
|
 |
e8ec7a |
options: [ '-aP', '--delete-after', '--exclude="*.csv"', '--exclude="*.rss"' ]
|