Fedora Account System
Red Hat Associate
Red Hat Customer
I'm using sphinx with the pydata theme and I can't see fontawesome icons there, I can see in the browser console for instance: GET http://127.0.0.1:9000/_static/vendor/fontawesome/webfonts/fa-solid-900.woff2 [HTTP/1 404 File not found 1ms] This seems to only be an issue with the fedora version of the pydata theme. Reproducible: Always Steps to Reproduce: 1. Create a documentation using a `note` field for instance (that is using a font-awesome icon) Actual Results: The icon is not showing Expected Results: The icon should be showing
I think I see the problem. I have built version 0.20.0 with a fix for this issue in Rawhide and Fedora 44. Let me know if the update fixes the issue for you.
FEDORA-2026-6324ca2e6b (python-pydata-sphinx-theme-0.20.0-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-6324ca2e6b
FEDORA-2026-6324ca2e6b has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6324ca2e6b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6324ca2e6b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
I tried with this update and no luck, on the web console I now get: ``` Unknown descriptor ‘src:local("fontawesome-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype")’ in @font-face rule. Skipped to next declaration. ```
Here is a minimal QA reproducer: conf.py: ``` project = 'test' copyright = '2026, test' author = 'test' html_theme = "pydata_sphinx_theme" ``` index.rst: ``` test documentation ================== Add your content using ``reStructuredText`` syntax. See the `reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_ documentation for details. .. note:: Test note .. toctree:: :maxdepth: 2 :caption: Contents: ``` Run `sphinx-build . build` to generate the output in the `build` directory then one can check the output with a simple `python3 -m http.server --bind 127.0.0.1 9000` in the build directory
Sorry about that. Unbundling fonts is hard. I think I've got it this time. At least, when I try your reproducer (many thanks for that!) I now see the expected icons on the upper right.
The upper-right icon is a bundled SVG, the goal is to have the right icon appearing next to the "Test note" frame. Right now I'm still getting: ``` Unknown descriptor ‘src:local("fontawesome-7-free-fonts/Font Awesome 7 Free-Solid-900") format("opentype")’ in @font-face rule. Skipped to next declaration. ``` in the web console
FEDORA-2026-6324ca2e6b (python-pydata-sphinx-theme-0.20.0-2.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
Created attachment 2152579 [details] Symlink to FontAwesome fonts Here is a suggestion of one possible way to correctly unbundle the fonts but still allow them to be included in the generated documentation
Thank you! I will do builds with that approach today.
FEDORA-2026-b2b0c967fd (python-pydata-sphinx-theme-0.20.0-3.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-b2b0c967fd
FEDORA-2026-b2b0c967fd has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b2b0c967fd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b2b0c967fd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-b2b0c967fd (python-pydata-sphinx-theme-0.20.0-3.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.