Skip to content

Simplify CrossReference resolve#1571

Open
tompng wants to merge 1 commit intoruby:masterfrom
tompng:crossref_simplify
Open

Simplify CrossReference resolve#1571
tompng wants to merge 1 commit intoruby:masterfrom
tompng:crossref_simplify

Conversation

@tompng
Copy link
Member

@tompng tompng commented Jan 19, 2026

Simply return nil if crossref resolve failed.
Crossref suppression (already done in another part) is not what CrossReference#resolve have to do.
So resolve(name, text) don't need text arg.
Cache mechanism of resolve will be simple: no string label cache, only cache ref or nil.

Simply return nil if crossref resolve failed.
@tompng tompng temporarily deployed to fork-preview-protection January 19, 2026 18:38 — with GitHub Actions Inactive
@matzbot
Copy link
Collaborator

matzbot commented Jan 19, 2026

🚀 Preview deployment available at: https://d425bc2e.rdoc-6cd.pages.dev (commit: a7f83c2)

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.

2 participants