Skip to content

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

Merged
tompng merged 1 commit into
masterfrom
autoresearch/fix-broken-c-file-links-2026-03-14
Mar 21, 2026
Merged

Don't auto-link to non-text source files in cross-references#1646
tompng merged 1 commit into
masterfrom
autoresearch/fix-broken-c-file-links-2026-03-14

Conversation

@st0012

@st0012 st0012 commented Mar 14, 2026

Copy link
Copy Markdown
Member

Summary

@matzbot

matzbot commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator

🚀 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 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
@tompng
tompng merged commit 0e9daee into master Mar 21, 2026
78 checks passed
@tompng
tompng deleted the autoresearch/fix-broken-c-file-links-2026-03-14 branch March 21, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants