Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs.rs seems somewhat broken #505

Open
jaskij opened this issue Feb 13, 2025 · 2 comments
Open

docs.rs seems somewhat broken #505

jaskij opened this issue Feb 13, 2025 · 2 comments

Comments

@jaskij
Copy link

jaskij commented Feb 13, 2025

If you look, for example, at si::pressure::Pressure there's over a hundred instances of the ceil() listed in the sidebar. Makes browsing the documentation somewhat difficult to read.

I'm not entirely sure if the issue is with the way uom does things, or something with the way docs.rs renders things, so I wanted to get your input first.

@iliekturtles
Copy link
Owner

It looks like cargo doc generates one entry for each possible unit that can be used as the generic parameter to ceil, fract, ...

Not ideal, so I'm leaving this open to see if we can find a way to de-duplicate the entries.

@jaskij
Copy link
Author

jaskij commented Feb 19, 2025

It looks like cargo doc generates one entry for each possible unit that can be used as the generic parameter to ceil, fract, ...

Hmm... that sounds more like a bug with generating the documentation, truth be told.

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

No branches or pull requests

2 participants