Comments (5)
/// [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.
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.
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.
/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.
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)
- Run on all crates in the workspace HOT 3
- Don't remove links that are the same except for a disambiguator HOT 1
- Replace `docs.rs/crate` with `crate`
- Convert doc.rust-lang.org to intra-doc links HOT 5
- Redundant links are not removed if they were originally HTTP links HOT 1
- [stretch] convert <a href=""> to intra-doc links HOT 3
- -a removes all whitespace
- docs.rs/crate/x is treated as if crate/ is a crate HOT 6
- Properly detect blocks HOT 1
- Wrongly detect short form of a crate for docs.rs
- Add a way to ignore links HOT 10
- If a favored url is converted to the current crate, use `crate::` instead HOT 4
- Take backticks into account when removing links that are the same HOT 3
- `index.html` should link to `self`, not the current page
- Intraconv shouldn't convert links to primitives HOT 1
- Read `intraconv.toml` by default
- Ignore file compares the whole line, not the link HOT 4
- Strip backticks before comparing to ignore file
- Ignore links per-crate? HOT 3
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 cargo-intraconv.