Links broken in ArrayRef documentation #1583
Copy link
Copy link
Open
Description
Activity
I traced through the docs to find the specific broken links. The main issue is in the
ArrayRefdocs generated from theimpl_ref_types.rsmodule — cross-references in methods inherited throughDereffromArrayBaseresolve to anchors on theArrayBasepage (e.g.,#slicing,#method.view) but the same links are broken when rendered onArrayRef's own page.For example:
lib.rs:51—[Slicing](ArrayBase#slicing)works onArrayBase's page but the equivalent reference on anyArrayRef-scoped doc text doesn't resolve.- Any
///doc comment using intra-doc links like[ArrayRef::view]that also reference methods only defined onArrayBasecan render incorrectly.
I can put together a PR that replaces these with canonical intra-doc links — e.g., replacing bare
[Slicing]references with[ArrayBase::slice]orcrate::ArrayBase#slicingas appropriate. Let me know if you'd like me to proceed.
Metadata
Metadata
Assignees
Labels
No labels
Links to documentation sections like Slicing used to work (and still do) for
ArrayBasebecause the documentation was on the same page as the struct. NowArrayRef's links are broken. We can fix them in the short term, or we can deploy #1499 and link to there.