Skip to content

Fix a broken link and check links in all texts - #499

Merged
ScriptRaccoon merged 2 commits into
mainfrom
link-test-fix
Nov 26, 2026
Merged

ScriptRaccoon merged 2 commits into
mainfrom
link-test-fix

Conversation

@ScriptRaccoon

@ScriptRaccoon ScriptRaccoon commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

This PR fixes a broken link in the description of "co-Grothendieck abelian", which made the production build fail: it pointed to the implication additive_CIP_CSP, which #496 replaced by the more general implication preadditive_infinitary_biproducts_trivial.

To detect such links, db:test now checks the links in all text columns of the database instead of only in proofs. This covers all texts from the YAML files, e.g. also descriptions, comments, and special objects, as well as all texts created by the deduction. An error shows the table, the column, and the row as JSON, for example:

--- Test link targets ---
❌ property_assignments.proof {
        "id": 644,
        "structure_id": "Grp",
        "property_id": "locally small",
        "type": "category",
        "is_satisfied": 1,
        "is_deduced": 0,
        "is_inherited": 0,
        "check_redundancy": 1
} has a link to "Sets" which does not exist:
"There is a forgetful functor $\Grp \to \Set$, and $\Set$ is locally small (<a href="/category/Sets?proof=locally_small" data-allow-deduced>proof</a>)."

@ScriptRaccoon ScriptRaccoon changed the title Check links in all YAML fields Fix a broken link and check links in all YAML files Nov 26, 2026
@ScriptRaccoon ScriptRaccoon changed the title Fix a broken link and check links in all YAML files Fix a broken link and check links in all texts Nov 26, 2026
@ScriptRaccoon
ScriptRaccoon merged commit c14bbb6 into main Nov 26, 2026
1 check passed
@ScriptRaccoon
ScriptRaccoon deleted the link-test-fix branch November 26, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant