Releases: poliorcetics/cargo-intraconv
Releases · poliorcetics/cargo-intraconv
Version 1.4.0 - Default ignore file, bug fixes aplenty
- Feature: Read
intraconv.tomlby default when no ignore file is given (#36). - Fix: Ignore
primitive.Type.htmllinks since transforming them is wrong most
of the time (#35). - Fix: Properly handle directories when they are given explicitly in a
workspace (no issue). - Fix: Correctly detect ignored links for long links (#38).
- Fix: use
--ignore-fileinstead of----ignore-file(#37).
Version 1.3.0 - Properly detect crate names
Version 1.2.0 - Ignoring links, short links, more favoured links
Date: 2020-11-19
- Added more favored links pattern for
docs.rs:https://docs.rs/crate-1
will now be transformed tocrate_1when used in a link. - Even more favored links:
https://doc.rust-lang.orgis now supported. - Don't remove links that are local but use a disambiguator:
/// [tracing]: mod@tracingwas previously removed but themod@part could be the only thing helping rustdoc find the correct link and so it is necessary to keep the link. - Not giving any path to
cargo intraconvwas an error before. Now it just find the current workspace (either one crate or a group of crates) and search the links in thesrcdirectories. This search is recursive. It is still possible to give only one file tocargo intraconvand it will only consume this file. - Correctly transform
[name]: ../metadatato[name]: super::metadata. - Correctly transform
[name](../metadata)to[name](super::metadata). This will also correctly delete the(link)part if the transformation produces something of the form[name](name). - Type blocks are never added before a lone section. This means a link like
[name]: #sectionwill never change. - Add an option to ignore some links through a file, either for all visited
files or for some specific files.
Version 1.1.0 - Favoured links
Date: 2020-10-29
Git tag: v1.1.0.
- Added favoured links: by default,
httpslink fromdocs.rswill be transformed to their intra-doc links version.intraconvwill assume such links point to dependencies and as such can be safely transformed to intra-doc links. If this is not the desired behaviour, see the-fflag. - Added
--no-favored(-f) to disable the behaviour described above.
Version 1.0.1
See CHANGELOG.md for a detailed changelog.
Short changelog:
- Added
--versionand--quiet. - Display paths only when appropriate.
Version 1.0.0
cargo-intraconv is now ready to be used widely and is only waiting on Rust 1.48.0 to get out with stabilised intra-doc links.
You can find it on crates.io as cargo-intraconv.