Skip to content
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

Compatibility with MkDocs 1.5 change to extra_javascript #30

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Compatibility with MkDocs 1.5 change to extra_javascript #30

merged 1 commit into from
Jul 25, 2023

Conversation

oprypin
Copy link
Contributor

@oprypin oprypin commented Jul 18, 2023

In the upcoming MkDocs 1.5.0 release, extra_javascript is no longer a plain list of strings. This edit makes the plugin compatible with both the new behavior and old behavior of MkDocs. Otherwise currently this plugin fails to update the script paths with upcoming 1.5.

Sorry about the (upcoming) breakage, and this will also require a release.

In the upcoming MkDocs 1.5.0 release, `extra_javascript` is no longer a plain list of strings. This edit makes the plugin compatible with both the new behavior and old behavior of MkDocs. Otherwise currently this plugin **fails to update the script paths** with upcoming 1.5.
@oprypin
Copy link
Contributor Author

oprypin commented Jul 19, 2023

Pinging @wilhelmer to make sure this gets noticed (sorry again)

@wilhelmer
Copy link
Collaborator

Thanks for providing both the problem and the solution! 😄

Just kidding, appreciate the PR. Looks good to me.

@wilhelmer wilhelmer merged commit af51df2 into byrnereese:master Jul 25, 2023
5 checks passed
@wilhelmer
Copy link
Collaborator

@byrnereese Please publish version 0.7.0 on PyPI. Thanks!

@byrnereese
Copy link
Owner

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants