mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Add font files via grunt
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user