Comments (5)
Additional context:
- This also fails on crates.io/crates/risc0-zkvm and also fails for the
verify
link - This seems to be because Rust intra-doc links are either not supported or not fully supported by crates.io and by docs.rs/crates (they do seem to be supported by the general docs.rs documentation).
I think this gives a few options:
- Remove intra-doc links from the crate summaries
- We could just remove the links and not replace them
- We could replace the intra-doc links with HTML links (e.g. https://docs.rs/risc0-zkvm/latest/risc0_zkvm/struct.Receipt.html); this loses the benefits of intra-doc links in the docs.rs and
cargo doc
cases though.
- Allow the links to be broken on docs.rs/crate and crates.io
- Investigate alternative ways to use intra-doc links that work on crates.io and docs.rs/crate
- Unclear if any solutions exist
from risc0.
This appears to be related: hadronized/cargo-sync-readme#11
from risc0.
I'm trending towards just having these links be broken on crates.io
. But I'd like to see what other prominent projects do to deal with this issue as one last bit of effort on this.
from risc0.
I might have found a tool that can address this issue: https://github.com/orium/cargo-rdme
It looks like the way this works is that we'd have normal rust docs in .rs
files. Then we'd run cargo rdme
to generate the README file, which does the translations to deal with links.
from risc0.
Or this tool: https://github.com/phaazon/cargo-sync-readme
from risc0.
Related Issues (20)
- [Feature] Split benchmarks
- [Feature] Make CUDA contexts fork-safe in Linux HOT 2
- [Feature] request
- [BUG] Reproducible builds fail on macOS (execstack) HOT 4
- [BUG] Links are broken on zkvm crate landing page HOT 1
- [BUG] `examples/digital-signature` fails with `--features=risc0-zkvm/metal` HOT 3
- [BUG] Building the entire workspace fails (missing req.) HOT 13
- Have `risc0-build` produce a Solidity contract output for image IDs
- [BUG] cargo binstall cargo-risczero fails because of openssl-sys error HOT 3
- [Feature] Necessity of OP_ADD, OP_SUB, OP_INV sub-bigint-syscalls HOT 3
- Error running `cargo` on MacOS with explicit toolchain `channel = 1.73` HOT 4
- Update README on main to point to 0.20 crates
- Test from linear HOT 3
- [Feature] Necessity of quotient bigint syscall HOT 2
- [Feature] update profiler to show cycle counts based on paging HOT 1
- [BUG] clippy does not work on 1.75.0 toolchain HOT 4
- [BUG] 'failed to fill whole buffer' error when using k256 crate HOT 4
- [BUG] HOT 2
- [Feature] Move `ExecutorImpl` out of the `prove` feature (for zkvm) HOT 1
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 risc0.