#37134: Fontawesome console tab icons not appearing in locally generated html docs
-------------------------------------+-------------------------------------
Reporter: James | Owner: James Beard
Beard |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 6.0
Documentation |
Severity: Normal | Keywords: icon, fontawesome
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When generating HTML django docs locally the console tab icons (Windows,
Linux, Mac) are broken and appear as missing unicode squares.
To reproduce, check out the django source, install docs dependencies, and
run `make html` in docs/. On relevant pages e.g.
http://localhost:3000/topics/install the icons in the tabs above the
console blocks look like this: □/□ □
The cause is in the default djangodocs theme and is twofold:
1. the static file console-tabs.css contains a dynamic path meant to be
interpreted, however that file is just copied verbatim by sphinx
1. the @font-face name defined in fa-brands.min.css doesn't match what's
used elsewhere in the theme CSS
Have a fix already so happy to take ownership if accepted.
--
Ticket URL: <
https://code.djangoproject.com/ticket/37134>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.