pydata / pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community
https://pydata-sphinx-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
561 stars 304 forks source link

Fontawesome 6 icons do not work #1767

Closed padix-key closed 2 months ago

padix-key commented 2 months ago

Despite the documentation stating otherwise (maybe only some) Fontawesome 6 icons do not work and show a missing icon symbol. Specifically, this symbol did not work for me. It is available in Fontawesome 6, but not Fontawesome 5.

This was the configuration I used:

html_theme_options = {
    "icon_links": [
        {
            "name": "News",
            "url": "https://biotite.bsky.social",
            "icon": "fa-brands fa-bluesky",
            "type": "fontawesome",
        }
   ]
}

I am using pydata-sphinx-theme version 0.15.2

drammock commented 2 months ago

The linked page says "6.5.2" in small print below the icon. The theme currently has v 6.5.1:

https://github.com/pydata/pydata-sphinx-theme/blob/733d9f3264020c8a5bd3dde38f3ee3e5cdb2979a/package.json#L22

So I think we just need to update that dependency