rust-lang / rustfmt

Format Rust code
https://rust-lang.github.io/rustfmt/
Apache License 2.0
5.85k stars 860 forks source link

docs: pin a version of markedjs from cdnjs #6194

Closed jbr closed 2 weeks ago

jbr commented 2 weeks ago

Hi! It seems like the docs site is currently broken. Previous to this commit, the cdn markedjs url was not versioned, so when markedjs v13 introduced breaking changes on 2024-06-12, the rustfmt docs site automatically pulled them in.

In addition to fixing that problem by pinning to v12, this PR:

However, this PR does not change the versions of any dependencies, many of which are significantly out of date.

Thanks!

ian-h-chamberlain commented 2 weeks ago

@ytmimi thanks for the quick response, just confirming these changes do in fact resolve the problem for me (tested on Firefox 127.0 and Safari 17.5).

Seems like this change would help prevent future similar breakages from upstream too! 👍