Code Monkey home page Code Monkey logo

Comments (5)

poliorcetics avatar poliorcetics commented on June 12, 2024 1
/// [metadata]: ../metadata

Those are bug but I'm not sure how to parse them without getting lots of false positive. intraconv is sadly limited by its use of regexes here.

/// See [`format::Json`](../fmt/format/struct.Json.html)

This is explicitly not handled at the moment. I'll see about adding them but you opened so many issue at once I don't know where to start. 😛 (Thanks again for stress-testing this !)

from cargo-intraconv.

poliorcetics avatar poliorcetics commented on June 12, 2024 1

The current approach is becoming hard to maintain and properly test so I'll be modifying internals a lot over the following days, it may be some time before I fix this, sorry !

from cargo-intraconv.

poliorcetics avatar poliorcetics commented on June 12, 2024 1
  403:  "    /// [metadata]: ../metadata"
        "    /// [metadata]: super::metadata"

First part done !

I'll start working on the second part ([name](link)) now that the internals are cleaner

from cargo-intraconv.

poliorcetics avatar poliorcetics commented on June 12, 2024 1

/Users/alexis/Projects/rust/tracing/tracing-appender/src/rolling.rs
===================================================================

    3:  "//! Creates a new log file at a fixed frequency as defined by [`Rotation`](struct.Rotation.html)."
        "//! Creates a new log file at a fixed frequency as defined by [`Rotation`]."

   41:  "/// [write]: https://doc.rust-lang.org/nightly/std/io/trait.Write.html"
        "/// [write]: std::io::Write"

   60:  "    /// defined by [`Rotation`](struct.Rotation.html). The `directory` and"
        "    /// defined by [`Rotation`]. The `directory` and"

  183:  "/// defined by [`Rotation`](struct.Rotation.html). The `directory` and"
        "/// defined by [`Rotation`]. The `directory` and"

Seems to work now, I'll push the relevant changes soon

from cargo-intraconv.

jyn514 avatar jyn514 commented on June 12, 2024

Other links that aren't caught:

rg '///.*\.\./'
tracing-subscriber/src/fmt/format/mod.rs
379:    /// See [`Json`](../format/struct.Json.html).
390:    /// See [`format::Json`](../fmt/format/struct.Json.html)
401:    /// See [`format::Json`](../fmt/format/struct.Json.html)
974:/// See also [`with_span_events`](../struct.SubscriberBuilder.html#method.with_span_events).

tracing-subscriber/src/fmt/mod.rs
758:    /// See [`format::Json`](../fmt/format/struct.Json.html)
777:    /// See [`format::Json`](../fmt/format/struct.Json.html)
791:    /// See [`format::Json`](../fmt/format/struct.Json.html)
805:    /// See [`format::Json`](../fmt/format/struct.Json.html)
1102:///     ../filter/struct.EnvFilter.html#associatedconstant.DEFAULT_ENV
1129:///     ../filter/struct.EnvFilter.html#associatedconstant.DEFAULT_ENV

tracing-subscriber/src/fmt/fmt_subscriber.rs
331:    /// Sets the subscriber being built to use a [less verbose formatter](../fmt/format/struct.Compact.html).
358:    /// Sets the subscriber being built to use a [JSON formatter](../fmt/format/struct.Json.html).
391:    /// See [`format::Json`](../fmt/format/struct.Json.html)
408:    /// See [`format::Json`](../fmt/format/struct.Json.html)
425:    /// See [`format::Json`](../fmt/format/struct.Json.html)

tracing-core/src/event.rs
20:/// [span]: ../span
21:/// [fields]: ../field

tracing/src/subscribe.rs
17:// /// [`Event`]: :../event/struct.Event.html
58:/// [`Event`]: :../event/struct.Event.html

tracing/src/span.rs
404:    /// [metadata]: ../metadata
429:    /// [metadata]: ../metadata
453:    /// [metadata]: ../metadata
818:    /// Returns a [`Field`](../field/struct.Field.html) for the field with the
828:    /// [`Field`](../field/struct.Field.html) or field name.

I think it's not picking up on (...)?

from cargo-intraconv.

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.