]> git.lizzy.rs Git - rust.git/commit
Tease apart orthogonal concerns in markdown link rewriting
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 26 Aug 2020 16:56:41 +0000 (18:56 +0200)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 26 Aug 2020 18:24:00 +0000 (20:24 +0200)
commitf8a59adf5e9633aa5d10efcdbf70b408d280ef01
treed088d683f75bbd2bed837f1ca0aca61fdba5c11b
parent3d6c4c143b4b4c74810318eca1b5493e43535fff
Tease apart orthogonal concerns in markdown link rewriting

`hir` should know nothing about URLs, markdown and html. It should
only be able to:

* resolve stringy path from documentation
* generate canonical stringy path for a def

In contrast, link rewriting should not care about semantics of paths
and names resolution, and should be concern only with text mangling
bits.
Cargo.lock
crates/hir/Cargo.toml
crates/hir/src/attrs.rs
crates/hir/src/code_model.rs
crates/hir/src/doc_links.rs [deleted file]
crates/hir/src/lib.rs
crates/ide/Cargo.toml
crates/ide/src/hover.rs
crates/ide/src/link_rewrite.rs