Sha256: 1003a19e2e7d63b9ecc306e7e1e70e3dba6baa30df67557441d8a46e93f9f53d
Contents?: true
Size: 697 Bytes
Versions: 3
Compression:
Stored size: 697 Bytes
Contents
#!/usr/bin/env ruby preprocess do end ignore '/**/*.html' compile '/**/*.md' do filter :'conref-fs-filter' if item[:filename] =~ /retrieve/ layout '/retrieve.*' elsif item[:filename] =~ /_children/ layout '/children.*' elsif item[:filename] =~ /asterisk/ layout '/asterisk.*' else layout '/default.*' end end compile '/multiple/single_var.md', :rep => :X do filter :'conref-fs-filter' filter :erb layout '/default.*' end route '/**/*.md' do item.identifier.without_ext + '/index.html' end route '/multiple/single_var.md', :rep => :X do item.identifier.without_ext + '_x/index.html' end route '/**/*' do item.identifier.to_s end layout '/**/*', :erb
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nanoc-conref-fs-0.6.2 | test/fixtures/Rules |
nanoc-conref-fs-0.6.1 | test/fixtures/Rules |
nanoc-conref-fs-0.6.0 | test/fixtures/Rules |