Skip to content

Compatibility with MkDocs 1.5 change to extra_javascript#30

Merged
wilhelmer merged 1 commit intobyrnereese:masterfrom
oprypin:extr
Jul 25, 2023
Merged

Compatibility with MkDocs 1.5 change to extra_javascript#30
wilhelmer merged 1 commit intobyrnereese:masterfrom
oprypin:extr

Conversation

@oprypin
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

oprypin commented Jul 19, 2023

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

@wilhelmer
Copy link
Copy Markdown
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
@wilhelmer
Copy link
Copy Markdown
Collaborator

@byrnereese Please publish version 0.7.0 on PyPI. Thanks!

@byrnereese
Copy link
Copy Markdown
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.

3 participants