Skip to content

Commit 9fdadd5

Browse files
jessetanBlendify
authored andcommitted
Bundle Roboto Slab as a real web font (not just ttf) (readthedocs#642)
1 parent 17ecdc6 commit 9fdadd5

13 files changed

+23
-10
lines changed

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Document global line endings settings
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
* text eol=lf
4+
5+
6+
# Denote all files that are truly binary and should not be modified.
7+
*.ai binary
8+
*.jpg binary
9+
*.otf binary
10+
*.png binary
11+
*.eot binary
12+
*.ttf binary
13+
*.whl binary
14+
*.woff binary
15+
*.woff2 binary

Apache-License-2.0.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
sphinx_rtd_theme/static/fonts/RobotoSlab-Bold.ttf
2-
sphinx_rtd_theme/static/fonts/RobotoSlab-Regular.tt/
1+
/fonts/RobotoSlab/*
32

43

54
Apache License

Gruntfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ module.exports = function(grunt) {
4545
{
4646
expand: true,
4747
flatten: true,
48-
src: ['bower_components/robotoslab-googlefont/RobotoSlab-Bold.ttf',
49-
'bower_components/robotoslab-googlefont/RobotoSlab-Regular.ttf'],
50-
dest: 'sphinx_rtd_theme/static/fonts/',
48+
src: ['fonts/RobotoSlab/*'],
49+
dest: 'sphinx_rtd_theme/static/fonts/RobotoSlab/',
5150
filter: 'isFile'
5251
}
5352
]

bower.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
},
3131
"dependencies": {
3232
"lato-googlefont": "*",
33-
"robotoslab-googlefont": "*",
3433
"font-awesome": "~4.7"
3534
},
3635
"resolutions": {
77.7 KB
Binary file not shown.
167 KB
Binary file not shown.
85.6 KB
Binary file not shown.
65.7 KB
Binary file not shown.
76.5 KB
Binary file not shown.
165 KB
Binary file not shown.

0 commit comments

Comments
 (0)