Add font files via grunt

This commit is contained in:
Aaron Carlisle
2017-03-22 23:09:44 -04:00
parent 340ad42abd
commit f41d88df1f
3 changed files with 4 additions and 3 deletions

View File

@@ -32,8 +32,10 @@ module.exports = function(grunt) {
{
expand: true,
flatten: true,
src: ['bower_components/lato-googlefont/Lato-Bold.ttf',
'bower_components/lato-googlefont/Lato-Regular.ttf'],
src: ['bower_components/lato-googlefont/Lato-Regular.ttf',
'bower_components/lato-googlefont/Lato-Italic.ttf',
'bower_components/lato-googlefont/Lato-Bold.ttf',
'bower_components/lato-googlefont/Lato-BoldItalic.ttf'],
dest: 'sphinx_rtd_theme/static/fonts/',
filter: 'isFile'
},
@@ -160,4 +162,3 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['exec:bower_update','clean:build','sass:dev','browserify:dev','exec:build_sphinx','connect','open','watch']);
grunt.registerTask('build', ['exec:bower_update','clean:build','sass:build','browserify:build','exec:build_sphinx']);
}