-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privacy plugin no longer works with extra_javascript configured #5772
Comments
Thank you for the report and solution! Affected by the same bug. |
Thanks for reporting. Definitely related to the recent release of MkDocs 1.5.0 which changed internal APIs. We'll upgrade Insiders to MkDocs 1.5.0 and issue a new release later this day. In the meantime, to mitigate, pin MkDocs to 1.4:
|
Yes, that's still kind of an oddity if versions between Insiders and community edition are not the same. You can open an issue for that as well, so we don't forget it. |
The problem has been resolved in MkDocs 1.5.1 which now allows to use |
Released as part of 9.1.21+insiders-4.37.1. |
I'm unfortunately not seeing this fixed on my end. Attaching a reproduction if you want to double-check I installed the update correctly, but yeah the same reproduction build fails on 9.1.21+insiders.4.37.1. |
Did you upgrade your dependencies after pulling the latest release? Make sure that MkDocs 1.5.1 is installed. |
Still failing for me, too. And I have the latest dependencies including mkdocs 1.5.1
Traceback:
|
Okay, thanks. Does it reproduce for you with the example provided in the OP? Edit: Ah wait, @jonaharagon already confirmed that. |
Fixed in |
Yep, I can confirm that works for me. Thank you! |
Perfect, thanks for confirming! Released as part of 9.1.21+insiders-4.38.0. |
Working for me as well 👍 |
Context
When I upgrade mkdocs-material and my site dependencies from
9.1.18+insiders.4.37.0
to the current commit, my site can no longer be built.Bug description
The build fails when
extra_javascript
is configured inmkdocs.yml
and the privacy plugin is enabled.Related links
Reproduction
example.zip
Also, I had to set
plugins.info.archive_stop_on_violation: false
, otherwise it would sayPlease update from 9.1.20+insiders.4.37.0 to 9.2.0b2.
even though 9.2.0b2 is not available on the insiders repo. Bonus bug? This reproduction ZIP is built with the latest (https://github.com/squidfunk/mkdocs-material-insiders/commit/d2033e5aee7d006f15b5d872834875f221bc6d23) commit though.Steps to reproduce
extra_javascript
in mkdocs.ymlBrowser
No response
Before submitting
The text was updated successfully, but these errors were encountered: