Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop FontAwesome static/webfonts file copies, mount package #1164

Merged
merged 2 commits into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Bootstrap variables overrides for theme.
See https://github.com/twbs/bootstrap/pull/23260
*/

@fa-font-path : "../webfonts";

// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/
$enable-gradients: true !default;
$enable-rounded: true !default;
Expand Down
6 changes: 6 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ min = "0.73.0"
[[module.mounts]]
source = 'static'
target = 'static'
[[module.mounts]]
source = 'node_modules/@fortawesome/fontawesome-free/webfonts'
target = 'static/webfonts'
# Mounts for projects using Docsy as an NPM package. The source path prefix
# "../.." moves out of themes/docsy so that Docsy can find its dependencies.
[[module.mounts]]
Expand All @@ -56,3 +59,6 @@ min = "0.73.0"
[[module.mounts]]
source = '../../node_modules/@fortawesome/fontawesome-free'
target = 'assets/vendor/Font-Awesome'
[[module.mounts]]
source = '../../node_modules/@fortawesome/fontawesome-free/webfonts'
target = 'static/webfonts'
Binary file removed static/webfonts/fa-brands-400.eot
Binary file not shown.
3,451 changes: 0 additions & 3,451 deletions static/webfonts/fa-brands-400.svg

This file was deleted.

Binary file removed static/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file removed static/webfonts/fa-brands-400.woff
Binary file not shown.
Binary file removed static/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file removed static/webfonts/fa-regular-400.eot
Binary file not shown.
803 changes: 0 additions & 803 deletions static/webfonts/fa-regular-400.svg

This file was deleted.

Binary file removed static/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file removed static/webfonts/fa-regular-400.woff
Binary file not shown.
Binary file removed static/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file removed static/webfonts/fa-solid-900.eot
Binary file not shown.
4,649 changes: 0 additions & 4,649 deletions static/webfonts/fa-solid-900.svg

This file was deleted.

Binary file removed static/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file removed static/webfonts/fa-solid-900.woff
Binary file not shown.
Binary file removed static/webfonts/fa-solid-900.woff2
Binary file not shown.