Yandros has a nifty little trick for that. They just redefine the links they used in the README to point to the local item before adding the README to the docs. Like so. That way the external link is overridden in the local docs but still works in the README. You'd still have to maintain the external links though, which can be annoying for sure.
jofas
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Best practice to manage links in READMEs
|
2 | 333 | March 18, 2024 | |
| Make Rustdoc refer to my local copy of the libstd documentation instead of linking out to docs.rust-lang.org | 2 | 518 | May 20, 2023 | |
| How do intra-doc links work? | 4 | 252 | February 13, 2026 | |
| Rustdoc (CommonMark): variables? | 3 | 435 | May 6, 2020 | |
| Doc : link to crate inconsistent behaviour | 1 | 348 | July 8, 2023 |