Skip to content

[TASK] Give every reference a link text and check it - #426

Merged
linawolf merged 1 commit into
mainfrom
task/check-link-text
Sep 26, 2026
Merged

linawolf merged 1 commit into
mainfrom
task/check-link-text

Conversation

@linawolf

Copy link
Copy Markdown
Member

A hundred and twenty references showed the title of their target
instead of a text of their own, which in a guide that sends the reader
from step to step reads badly: "Please make sure that you read the
Commit Message rules for TYPO3 CMS in the Appendix", or a list item
that is a whole headline. The style guide asks for a text that fits the
sentence, see https://docs.typo3.org/permalink/h2document:link-text.

Each of them now carries one: the target's title where it is a phrase,
a shortened form where it is a headline. Seven of them were written as
":ref:<anchor>" with an empty label, which shows the title as well.

guides.xml switches the check on, see
https://docs.typo3.org/permalink/h2document:settings-guides-check-link-text,
so a reference without a link text now fails "make test-docs".

Assisted-by: Claude Opus 5 noreply@anthropic.com
Signed-off-by: Lina Wolf

A hundred and twenty references showed the title of their target
instead of a text of their own, which in a guide that sends the reader
from step to step reads badly: "Please make sure that you read the
Commit Message rules for TYPO3 CMS in the Appendix", or a list item
that is a whole headline. The style guide asks for a text that fits the
sentence, see https://docs.typo3.org/permalink/h2document:link-text.

Each of them now carries one: the target's title where it is a phrase,
a shortened form where it is a headline. Seven of them were written as
":ref:`<anchor>`" with an empty label, which shows the title as well.

guides.xml switches the check on, see
https://docs.typo3.org/permalink/h2document:settings-guides-check-link-text,
so a reference without a link text now fails "make test-docs".

Assisted-by: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Lina Wolf
@linawolf
linawolf merged commit b5d4e84 into main Sep 26, 2026
2 checks passed
@linawolf
linawolf deleted the task/check-link-text branch September 26, 2026 04:50
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.

1 participant