Skip to content

Don't auto-link to non-text source files in cross-references#1646

Open
st0012 wants to merge 1 commit intomasterfrom
autoresearch/fix-broken-c-file-links-2026-03-14
Open

Don't auto-link to non-text source files in cross-references#1646
st0012 wants to merge 1 commit intomasterfrom
autoresearch/fix-broken-c-file-links-2026-03-14

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Mar 14, 2026

Summary

@matzbot
Copy link
Collaborator

matzbot commented Mar 14, 2026

🚀 Preview deployment available at: https://522b1de1.rdoc-6cd.pages.dev (commit: f0bb055)

@st0012 st0012 force-pushed the autoresearch/fix-broken-c-file-links-2026-03-14 branch from 3ac13a2 to 7fa27e3 Compare March 14, 2026 23:11
@st0012 st0012 force-pushed the autoresearch/fix-broken-c-file-links-2026-03-14 branch from 7fa27e3 to 0bfce0d Compare March 14, 2026 23:14
@st0012 st0012 changed the title Don't generate cross-reference links to non-text source files Don't auto-link to non-text source files in cross-references Mar 14, 2026
@st0012 st0012 added the bug label Mar 14, 2026
RDoc's cross-reference system auto-links filenames like `array.c`
when encountered in documentation text. However, non-text source
files are not meant to have their own documentation pages, so these
auto-generated links are always broken.

Only suppress auto-linking. Explicit `rdoc-ref:` links to non-text
files (enabled by #1376) continue to work.
@st0012 st0012 force-pushed the autoresearch/fix-broken-c-file-links-2026-03-14 branch from 0bfce0d to f0bb055 Compare March 14, 2026 23:16
@st0012 st0012 marked this pull request as ready for review March 14, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants