Sha256: 3840a1d4f41d19b610a80793e64df8cdfbeaa9ea94215372c1416e2d3903774f
Contents?: true
Size: 1.3 KB
Versions: 15
Compression:
Stored size: 1.3 KB
Contents
#!/usr/bin/env ruby require 'scholarmarkdown/snippets' require 'scholarmarkdown/filter/acronym' require 'scholarmarkdown/filter/citation' require 'scholarmarkdown/filter/hyphenate_iri' require 'scholarmarkdown/filter/include_code' require 'scholarmarkdown/filter/labelify' require 'scholarmarkdown/filter/references_to_footer' require 'scholarmarkdown/filter/headerids_to_section' require 'scholarmarkdown/filter/citation_metadata' Encoding.default_external = "UTF-8" compile '/index.*' do filter :erb filter :scholar_citation, bibfile: items['/references.bib'], style: 'lncs-custom' filter :kramdown filter :scholar_hyphenate_iri filter :scholar_include_code filter :scholar_labelify filter :scholar_references_to_footer filter :scholar_headerids_to_section filter :rubypants layout '/default.*' filter :scholar_citation_metadata end ignore '/*.md' ignore '/*.bib' ignore '/*.csv' route '/**/*.{html,md}*' do if item.identifier =~ '/index.*' '/index.html' else item.identifier.without_ext + '/index.html' end end compile '/**/{screen,print}.scss' do filter :sass, syntax: :scss, style: :compressed write item.identifier.without_ext + '.css' end ignore '/**/*.scss' compile '/**/*' do write item.identifier.to_s end layout '/**/*', :erb
Version data entries
15 entries across 15 versions & 1 rubygems