Correct paths to FontAwesome fonts
This commit is contained in:
parent
38a5e0c997
commit
2fe9a38ce0
1 changed files with 9 additions and 9 deletions
|
|
@ -130,16 +130,16 @@ rm %{themedir}/.gitignore
|
|||
sed -i 's,pydata_sphinx_theme/\.\.,,g' \
|
||||
%{themedir}/scripts/fontawesome.js.map
|
||||
sed -e 's,pydata_sphinx_theme/\.\./\.\./\.\./\.\./\.\.,,g' \
|
||||
-e 's,url(\\"\.\./webfonts/fa-solid-900\.woff2\\"),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \
|
||||
-e 's,url(\\"\.\./webfonts/fa-regular-400\.woff2\\"),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \
|
||||
-e 's,url(\\"\.\./webfonts/fa-brands-400\.woff2\\"),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \
|
||||
-e "s,url('#{v\.\$font-path}/fa-solid-900\.woff2')"',local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \
|
||||
-e "s,url('#{v\.\$font-path}/fa-regular-400\.woff2')"',local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \
|
||||
-e "s,url('#{v\.\$font-path}/fa-brands-400\.woff2')"',local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \
|
||||
-e 's,url(\\"\.\./webfonts/fa-solid-900\.woff2\\"),local("fontawesome-6-free-fonts/Font Awesome 6 Free-Solid-900") format("opentype"),g' \
|
||||
-e 's,url(\\"\.\./webfonts/fa-regular-400\.woff2\\"),local("fontawesome-6-free-fonts/Font Awesome 6 Free-Regular-400") format("opentype"),g' \
|
||||
-e 's,url(\\"\.\./webfonts/fa-brands-400\.woff2\\"),local("fontawesome-6-brands-fonts/Font Awesome 6 Brands-Regular-400") format("opentype"),g' \
|
||||
-e "s,url('#{v\.\$font-path}/fa-solid-900\.woff2')"',local("fontawesome-6-free-fonts/Font Awesome 6 Free-Solid-900") format("opentype"),g' \
|
||||
-e "s,url('#{v\.\$font-path}/fa-regular-400\.woff2')"',local("fontawesome-6-free-fonts/Font Awesome 6 Free-Regular-400") format("opentype"),g' \
|
||||
-e "s,url('#{v\.\$font-path}/fa-brands-400\.woff2')"',local("fontawesome-6-brands-fonts/Font Awesome 6 Brands-Regular-400") format("opentype"),g' \
|
||||
-i %{themedir}/styles/pydata-sphinx-theme.css.map
|
||||
sed -e 's,url([.-/[:alnum:]]*fa-solid-900\.woff2),local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype"),g' \
|
||||
-e 's,url([.-/[:alnum:]]*fa-regular-400\.woff2),local("fontawesome-free-fonts/Font Awesome 7 Free-Regular-400") format("opentype"),g' \
|
||||
-e 's,url([.-/[:alnum:]]*fa-brands-400\.woff2),local("fontawesome-brands-fonts/Font Awesome 7 Brands-Regular-400") format("opentype"),g' \
|
||||
sed -e 's,url([.-/[:alnum:]]*fa-solid-900\.woff2),local("fontawesome-6-free-fonts/Font Awesome 6 Free-Solid-900") format("opentype"),g' \
|
||||
-e 's,url([.-/[:alnum:]]*fa-regular-400\.woff2),local("fontawesome-6-free-fonts/Font Awesome 6 Free-Regular-400") format("opentype"),g' \
|
||||
-e 's,url([.-/[:alnum:]]*fa-brands-400\.woff2),local("fontawesome-6-brands-fonts/Font Awesome 6 Brands-Regular-400") format("opentype"),g' \
|
||||
-i %{themedir}/styles/pydata-sphinx-theme.css
|
||||
sed -i '/vendor/d' %{pyproject_files}
|
||||
rm -fr %{themedir}/vendor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue