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
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
With the changes introduced in insiders-4.26.0, the privacy plugin doesn't properly fetch the Google fonts anymore.
To reproduce, create a minimal MkDocs project using the mkdocs.yml below. Build and serve the project via mkdocs serve. (The bug does not occur when the project is opened locally, i.e., via file:// protocol)
The fonts aren't rendered properly, and there's an error message in the console:
The stylesheet http://127.0.0.1:8000/assets/external/fonts.googleapis.com/css was not loaded because its MIME type, “application/octet-stream”, is not “text/css”.
Thanks for reporting. Should be fixed in squidfunk/mkdocs-material-insiders@7ab6c9de7. It seems that I mixed up the paths, but I wonder that I didn't encounter the error before. Might be related to stale cache on my machine 😅
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
With the changes introduced in insiders-4.26.0, the privacy plugin doesn't properly fetch the Google fonts anymore.
To reproduce, create a minimal MkDocs project using the
mkdocs.yml
below. Build and serve the project viamkdocs serve
. (The bug does not occur when the project is opened locally, i.e., via file:// protocol)The fonts aren't rendered properly, and there's an error message in the console:
Expected behaviour
Fonts should be fetched properly.
Actual behaviour
See description.
Steps to reproduce
See description.
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: