Comments (10)
Oh, it's metadata
http://doc.crates.io/manifest.html#the-metadata-table-optional
from docs.rs.
Would be really cool to have the default-target redirect working. It's incredibly frustrating when people look for the documentation for winapi
only to find empty documentation.
from docs.rs.
Same idea, but different problem: https://docs.rs/crate/clang-sys fails to find libclang (obviously). There is a feature to do a runtime link instead of a compile time link, so it should fix the problem.
from docs.rs.
I will add building crates with extra features but where is best place to define docs.rs specific options?
Maybe a docs.rs
section in Cargo.toml
?
from docs.rs.
IIRC, we made a meta
section of Cargo.toml for this kind of thing
from docs.rs.
A use-case I have: cocoa-rs is a crate managed by Servo. Servo currently does not build documentation on the OSX builders (https://doc.servo.org is Linux IIRC). It'd be nice if I could link to the documentation for cocoa-rs for the latest published version that was built on OSX. That said, I juts checked it looks like cocoa-rs isn't building on docs.rs, which makes my whole comment moot anyways.
from docs.rs.
Doc features are great. What I do in ndarray is to build with the "docs" feature that depends on the optional crate features. Then I've made sure each of the items enabled by that mentions this in the docs (“Requires crate feature "serde"”). Adding this to docs.rs would make it have "feature parity" and I'll switch.
from docs.rs.
This is partially fixed, looks like a commit closed this.
Docs.rs now supports building non-default features but it is not redirecting to default-target yet.
from docs.rs.
#255 fixed this
from docs.rs.
Crates that set a default-target
in their [package.metadata.docs.rs]
will now run their "test build" for that target, and their default docs set will be run on that target. In addition, crates with a default-target already set have had their latest version rebuilt; for example https://docs.rs/winapi/ now contains the proper docs for x86_64-pc-windows-msvc
without having to redirect to that target's page. (Note that the builds still all run on a Linux system, so if your crate is target-specific because of a system library, that will still need to be available on Debian for the docs to build!)
from docs.rs.
Related Issues (20)
- error: failed to run custom build command for `ring v0.17.8` HOT 1
- hyper-rustls 0.27.1 build failed HOT 3
- Request to rebuild axum-login docs HOT 1
- liboxen docs failing HOT 3
- Docs.rs doesn't seem to run anymore for my crate simconnect-sys HOT 2
- Custom CSS from `--extend-css` doesn't work HOT 2
- Re-generate docs for dependents on generic-array v0.14 HOT 8
- Features page: link dependent features HOT 1
- Features page: mark all active by default features
- Crate succeeds to build, but some pages are unreachable HOT 8
- Rebuild docs for openvino crate 0.7.2 HOT 2
- My crate build fails and the build error message is not very informative HOT 1
- https://giphy.com/clips/erichamlet-upVo4ebZoXlUUsKdn8
- Crate failed to build HOT 3
- increase RAM or lower number of jobs for crates diffsl and diffsol HOT 2
- Does not build for MacOS and Windows target. HOT 1
- Add lines labels to `/crate/**/source/` HOT 8
- several Bevy crates failed to build with yanked dependencies error but could not find which HOT 8
- Build fails due to DNS resolution problem HOT 1
- SM-G355HN
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.