Skip to content

fix(docs): point section links at the pages that define their anchors#1606

Open
SomeB1oody wants to merge 1 commit into
rust-ndarray:masterfrom
SomeB1oody:fix-arrayref-doc-links
Open

fix(docs): point section links at the pages that define their anchors#1606
SomeB1oody wants to merge 1 commit into
rust-ndarray:masterfrom
SomeB1oody:fix-arrayref-doc-links

Conversation

@SomeB1oody

Copy link
Copy Markdown

Fixes #1583

Summary

The ArrayRef/LayoutRef refactor in #1532 moved impl blocks off ArrayBase. The link text stayed put. This PR retargets each link at the page that actually defines the anchor. Docs only, no code change.

Notes

CI cannot catch this class of breakage because rustdoc splits a link target on # and only resolves the path before it. the fragment is copied into the URL unchecked. A bare #anchor is not treated as an intra-doc at all.

The ArrayRef/LayoutRef refactor in rust-ndarray#1532 moved impl blocks off ArrayBase. The link text stayed put.

Retarget each link at the page that actually defines the anchor. Docs only, no code change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Links broken in ArrayRef documentation

1 participant