Giter Site home page Giter Site logo

Comments (5)

tzerrell avatar tzerrell commented on July 24, 2024

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
  • 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.

flaub avatar flaub commented on July 24, 2024

This appears to be related: hadronized/cargo-sync-readme#11

from risc0.

flaub avatar flaub commented on July 24, 2024

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.

flaub avatar flaub commented on July 24, 2024

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.

flaub avatar flaub commented on July 24, 2024

Or this tool: https://github.com/phaazon/cargo-sync-readme

from risc0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.