You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,6 +210,21 @@ cargo run -- daemon --registry-watcher=disabled
210
210
cargo run -- queue add <CRATE><VERSION>
211
211
```
212
212
213
+
### Updating vendored sources
214
+
215
+
The instructions & links for updating Font Awesome can be found [on their website](https://fontawesome.com/how-to-use/on-the-web/using-with/sass). Similarly, Pure-CSS also [explains on theirs](https://purecss.io/start/).
216
+
217
+
When updating Font Awesome, make sure to change `$fa-font-path` in `scss/_variables.scss` (it should be at the top of the file) to `../-/static`. This will point font awesome at the correct path from which to request font and icon resources.
218
+
<!--
219
+
TODO: Whenever scss modules are avaliable, use [scss modules](https://sass-lang.com/documentation/at-rules/use#configuration)
220
+
instead of manually editing the `_variables.scss` file. Something like this should work:
221
+
```scss
222
+
@use "fontawesome" with (
223
+
$fa-font-path: "../-/static"
224
+
);
225
+
```
226
+
-->
227
+
213
228
### Contact
214
229
215
230
Docs.rs is run and maintained by the [docs.rs team](https://www.rust-lang.org/governance/teams/dev-tools#docs-rs).
0 commit comments