nanoc.yaml -> nanoc.yaml.sample
This change allows changes to be made to nanoc.yaml that don't have to be checked back into the repository. The bin/setup script will copy the sample file into place.
This commit is contained in:
parent
1967ad6ff6
commit
f5509f3f14
3 changed files with 42 additions and 6 deletions
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -1,10 +1,11 @@
|
|||
node_modules/
|
||||
dist/
|
||||
/.gems/
|
||||
/build/
|
||||
/tmp/
|
||||
/packages/typescript/**/*.js
|
||||
/packages/typescript/**/dist/
|
||||
/rake/tasks/deploy.rake
|
||||
/.gems/
|
||||
/submodules/quran-json/
|
||||
/packages/**/*.js
|
||||
/submodules/
|
||||
/crash.log
|
||||
node_modules/
|
||||
*.core
|
||||
/*.core/
|
||||
/nanoc.yaml
|
||||
|
|
|
@ -37,3 +37,6 @@ printok "ruby dependencies installed"
|
|||
|
||||
npm i
|
||||
printok "nodejs dependencies installed"
|
||||
|
||||
cp nanoc.yaml.sample nanoc.yaml
|
||||
printok "nanoc.yaml.sample -> nanoc.yaml"
|
||||
|
|
32
nanoc.yaml.sample
Normal file
32
nanoc.yaml.sample
Normal file
|
@ -0,0 +1,32 @@
|
|||
# A list of file extensions that Nanoc will consider to be textual rather than
|
||||
# binary. If an item with an extension not in this list is found, the file
|
||||
# will be considered as binary.
|
||||
text_extensions: [
|
||||
'adoc', 'asciidoc', 'atom', 'coffee', 'css', 'erb', 'haml',
|
||||
'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown',
|
||||
'md', 'ms', 'mustache', 'php', 'rb', 'rdoc', 'sass', 'scss',
|
||||
'slim', 'tex', 'txt', 'xhtml', 'xml', 'ts', 'tsx', 'json'
|
||||
]
|
||||
|
||||
prune:
|
||||
auto_prune: true
|
||||
|
||||
lib_dirs: ['nanoc/lib', 'nanoc/ruledsl']
|
||||
output_dir: build/al-quran/
|
||||
|
||||
data_sources:
|
||||
- type: filesystem
|
||||
encoding: UTF-8
|
||||
content_dir: src/
|
||||
layouts_dir: src/layouts
|
||||
|
||||
audio:
|
||||
base_url: https://al-quran.reflectslight.io/audio/alajmi
|
||||
|
||||
server:
|
||||
base_url: https://al-quran.reflectslight.io
|
||||
unix:
|
||||
path:
|
||||
tcp:
|
||||
host: 127.0.0.1
|
||||
port: 7777
|
Loading…
Reference in a new issue