LukasKalbertodt / libtest-mimic

A small test framework to write your own test harness that looks and behaves like the built-in test harness used by `rustc --test`
https://docs.rs/libtest-mimic
Apache License 2.0
99 stars 28 forks source link

libtest-mimic v 0.6 docs are broken on docs.rs #22

Closed DanielJoyce closed 1 year ago

DanielJoyce commented 1 year ago

https://docs.rs/libtest-mimic/0.5.2/libtest_mimic/index.html << Renders fine

https://docs.rs/libtest-mimic/0.6.0/libtest_mimic/index.html << Broken

Confirmed its not my local browser caching a docs.rs hiccup

LukasKalbertodt commented 1 year ago

Can you describe how they are broken for you? Looks fine to me:

image

DanielJoyce commented 1 year ago

This is how it renders:

image

Errors in the console

image

DanielJoyce commented 1 year ago

Are you using a custom theme? Because all the links are broken when I visit.

DanielJoyce commented 1 year ago

One of the urls that gets a 404 for me

https://docs.rs/-/rustdoc.static/normalize-20221104-1.67.0-nightly-09508489e.css

DanielJoyce commented 1 year ago

image

DanielJoyce commented 1 year ago

I've turned caching, flushed cache, and used a incognito window. All are still broke

I'm worried by the broken URLS all seem to mention 1.67-nightly somehow?

DanielJoyce commented 1 year ago

Just tried firefox, broken there as well

LukasKalbertodt commented 1 year ago

Are you using a custom theme?

Nope.

One of the urls that gets a 404 for me

https://docs.rs/-/rustdoc.static/normalize-20221104-1.67.0-nightly-09508489e.css

Nope, works for me: returns a CSS file.

I'm worried by the broken URLS all seem to mention 1.67-nightly somehow?

That's for me as well, so that seems normal.


But wow, that seems weird, especially given that you also tried a different browser. My best guesses are: you are behind some firewall, or are using some kind of VPN or proxy, or something like that. Or maybe a browser extension that you have installed in both browsers?

But as I cannot reproduce this (I tried on multiple devices), I will close this issue. This is not something I can fix.

DanielJoyce commented 1 year ago

So all of those URLS work for you and you see nothing broken in your browser?

I just tried it on my phone, broken there as well.

DanielJoyce commented 1 year ago

No proxy, vpn, or anything, i tried using wifi and 5g

DanielJoyce commented 1 year ago

Filed a ticket in docs.rs in case they have a broken CDN or something. Thanks for your help.