Closed Skeletonxf closed 2 years ago
Seems potentially related to https://github.com/rust-lang/rust/issues/92872, but the latest builds were from a nightly that should have that fixed in; cc @GuillaumeGomez you probably have some idea on where the issue is.
This is highly surprising indeed.
@Skeletonxf Can you run cargo doc
with the last nightly locally and tell us if it reproduces the bug please? If so, I'll try to check what's wrong in rustdoc.
@GuillaumeGomez I have ran cargo doc on the latest nightly locally (nightly-x86_64-unknown-linux-gnu rustc 1.60.0-nightly (777bb86bc 2022-01-20)) and it has reproduced the bug - I see the same generated docs as from the docs.rs build.
It'll be fixed by https://github.com/rust-lang/rust/pull/93715.
Thanks, is there any way I can get docs.rs to rebuild the docs for the affected versions or will I have to submit a new version of my library to get a fixed docs.rs build?
Sure. But that for that, please open an issue on docs.rs repository directly.
Hi, I've just published a new version of my crate and the generated documentation is including a lot of bullet points that have never been included before.
https://docs.rs/easy-ml/1.8.1/easy_ml/index.html https://docs.rs/easy-ml/1.8.0/easy_ml/index.html
When I generate the docs locally on the 1.8.1 source code using the latest stable version of rust I see the same formatting for the 1.8.0 that docs.rs generated, so I think this is a bug that's slipped into the nightly version of docs.rs?
Stable local docs: docs.rs:
My guess is that it's because I'm using block comments, the unwanted bullet points seem to match up with empty lines in the documentation comment which consist of just a
*
.Thanks