Skip to content

Fix font awesome CDN#194

Merged
dgarcia360 merged 2 commits intomasterfrom
fix-cdn-font-awesome
Jul 5, 2021
Merged

Fix font awesome CDN#194
dgarcia360 merged 2 commits intomasterfrom
fix-cdn-font-awesome

Conversation

@dgarcia360
Copy link
Copy Markdown
Collaborator

@dgarcia360 dgarcia360 commented Jul 5, 2021

This PR:

  • Makes sure Font Awesome 4.7 is loaded.
  • Adds a compact library to support 4.7 and 5.0 active simultaneously.

Context

Font-Awesome icons are not showing correctly.

image

This is because expertrec.js (search extension) updated the Font-Awesome dependency to 5.0, while the theme still uses 4.7:

image

How to test this PR

  1. Run make preview
  2. Links should render as expected: https://sphinx-theme.scylladb.com/stable/examples/links.html

To roll out the change to all projects, we need to:

@dgarcia360 dgarcia360 requested review from lauranovich and tzach July 5, 2021 09:01
@dgarcia360 dgarcia360 added the bug Something isn't working label Jul 5, 2021
@dgarcia360 dgarcia360 marked this pull request as draft July 5, 2021 09:07
@dgarcia360 dgarcia360 marked this pull request as ready for review July 5, 2021 10:34
@lauranovich
Copy link
Copy Markdown
Contributor

looks great David - all fixed!

@lauranovich
Copy link
Copy Markdown
Contributor

I want to roll this out slowly - one site at a time and make sure it causes no issues.

@dgarcia360 dgarcia360 merged commit 5961dcf into master Jul 5, 2021
@dgarcia360 dgarcia360 deleted the fix-cdn-font-awesome branch July 5, 2021 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants