Comments (4)
Thanks for reporting.
I am not sure what is causing this. This link is working fine: https://docs.rs/either/1/either/enum.Either.html
And main.js is trying this:
var query = getQueryStringParams();
if (query['gotosrc']) {
window.location = $('#src-' + query['gotosrc']).attr('href');
}
Looks like there is no link with a id='src-10'
attribute (there is one with src-11
. This link is correct and working fine: https://docs.rs/either/1/either/enum.Either.html?gotosrc=11). I am not sure if this is a bug in rustdoc or docs.rs
from docs.rs.
I see, so it was pretty close to working. If I generate docs for both crates together, it ends up using src-10 in the either crate and the link works. Probably a rustdoc bug.
On the Either.html page it generates src-11 when I build the either crate's docs in their own crate, and src-10 when I build docs as a dep of itertools.
from docs.rs.
Closing as this now works as intended
from docs.rs.
Note that the link for itertools 0.5.0 now redirects to the doc homepage for either
which is not ideal but better than a 404. The link for the latest version of itertools works fine: https://docs.rs/itertools/0.9.0/itertools/enum.Either.html links to https://docs.rs/either/1.5.3/src/either/lib.rs.html#44-49. Still not sure if this was originally a rustdoc bug or a docs.rs bug, but it seems to be fixed now.
from docs.rs.
Related Issues (20)
- proptest docs missing decl macros in latest release HOT 3
- Add `std` to search results HOT 2
- Theme: Option to prefer system UI theme in theme selector HOT 3
- Frontend bug when opening display settings on crate page HOT 6
- API filter option for docs.rs HOT 5
- Search in top bar does not search crate documentation HOT 2
- Kayak UI - The platform you're compiling for is not supported by winit HOT 2
- cowstr failed to build on crates.io because of network error HOT 6
- Links to lastest are broken, if latest doesn't build HOT 4
- rstml Failed to build - compiller panics HOT 2
- Fluvio failed to compile on docs.rs HOT 10
- Differentiate the documentation pages for new users.
- remove unused archive index files from disk
- There is to be a way to conveniently identify and perhaps offer fixes to documentation HOT 18
- gpiocdev 0.4.3 failed to build HOT 2
- Feature Request: search predicates like `after:<DATE>`. HOT 1
- Feature Request: sort results by date HOT 3
- Feature request: track/show more quality metrics HOT 4
- Feature request: link to other crates in a workspace HOT 2
- Unable to build crate in docs.rs due to a missing library, available through optional features HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.rs.