You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A minimalist sphinx-doc site, with pydata-sphinx-theme (v. 0.14.4) as HTML theme, gives in the DevTools of Firefox and Chromium-browser a lot of warnings related to fontawesome:
index.html:1 Access to font at 'file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
index.html:27
GET file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2 net::ERR_FAILED
index.html:1 Access to font at 'file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
index.html:28
GET file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2 net::ERR_FAILED
index.html:1 Access to font at 'file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
index.html:29
GET file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2 net::ERR_FAILED
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
A preload for '<URL>' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
pydata-sphinx-theme.js:54 [PST]: Changed to dark mode using the dark theme.
index.html:1 The resource file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html:1 The resource file:///home/bitouze/test-pydata-sphinx-theme/_build/html/_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The text was updated successfully, but these errors were encountered:
I went on the web to undestand this issue and this is what I understaood:
The resource « url » was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. index.html
means that these 2 fonts are send to the browser and never used in index.html.
In sphinx, extra assets (css or javascripts) are all send to the whole site whitout consideration on their uses. add a single brand icon on your frontpage and this should disapear.
I would ignore this one.
was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.
A minimalist
sphinx-doc
site, withpydata-sphinx-theme
(v.0.14.4
) as HTML theme, gives in the DevTools ofFirefox
andChromium-browser
a lot of warnings related tofontawesome
:Firefox
:Chromium-browser
:The text was updated successfully, but these errors were encountered: