Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/scripts/check-structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@

// Attributes that are part of the "structure": they are included in an
// element's signature (a role= or an xml:id that changes = drift).
const STRUCTURAL_ATTRIBUTES = ['role', 'choice', 'class', 'xml:id', 'rep'];
// href and xpointer come from XInclude: a translated target silently selects
// nothing and breaks the build, so they must mirror doc-en exactly.
const STRUCTURAL_ATTRIBUTES = ['role', 'choice', 'class', 'xml:id', 'rep', 'href', 'xpointer'];

// Elements whose content is text (inline). We record the element itself but do
// NOT descend into it: its prose is the translator's business.
Expand Down
Loading