wagtail / sphinx-wagtail-theme

Wagtail's documentation theme for Sphinx
https://sphinx-wagtail-theme.readthedocs.io/
MIT License
30 stars 29 forks source link

Icon fonts broken #267

Closed lb- closed 1 year ago

lb- commented 1 year ago

As of #258 the icon fonts are broken.

Getting error Error: downloadable font: rejected by sanitizer.

Screenshot 2023-07-19 at 7 38 02 am

Root cause appears to be a config change required for css-loader updat to v6. https://github.com/webpack-contrib/css-loader/releases/tag/v6.0.0

[ext] placeholder don't need . (dot) before for the localIdentName option, i.e. please change .[ext] on [ext] (no dot before)

lb- commented 1 year ago

Dot change did not fix it, will downgrade css-loader.

lb- commented 1 year ago

Fixed via https://github.com/wagtail/sphinx-wagtail-theme/pull/268