rust-lang/docs.rs

Zip html in docs.rs looks misgenerated

Opened this issue · 6 comments

sftse commented

Html in online documentation for all versions of zip looks off. Where the VERSIONS box normally appears the title bar seems to have been rendered.

Searched for duplicates, found nothing.

Chrome dev tools detects the issue:
"Duplicate form field id in the same form"

Image

syphar commented

looking into it.

it seems like the version-partial URL returns a 404. not sure why

syphar commented

I think this is a regression from #2933

syphar commented

( or a caching issue, just trying to reproduce locally)

syphar commented

the interesting question is why this only broke for zip.

syphar commented

so, the wrong partial url is generated only when the latest release failed, which it did for zip.

syphar commented

the fix itself (based on the deployed version) would be syphar@1d39135, plus some tests.

Though perhaps I'll deploy the current master branch, which includes a bigger refactor that also solves the issue.