Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link: Detect dead link #430

Open
benjaminParisel opened this issue Sep 16, 2022 · 0 comments
Open

Link: Detect dead link #430

benjaminParisel opened this issue Sep 16, 2022 · 0 comments
Labels

Comments

@benjaminParisel
Copy link
Contributor

benjaminParisel commented Sep 16, 2022

IMPORTANT: #594 propose to add some tooling to solve the problems listed here

With Antora 3, we can detect if Xref link is valid or not.
But in our content, some external links exist. We need to be sure all link is valid and exist to avoid a bad impact on SEO.
This will also validate that we don't have locahost links, or texts generated as links.
Notice taht this is slower that the xref validation

To do this, some tools exist:

Already known broken links (non exhaustive list)

Linkchecker past run

2021-12-08, run linkchecker on production site for bonita version 2021.1 (or 2021.2). It tooks 5 to 15 minutes to complete.
It detected issues caused by the Markdown to AsciiDoc migration. localhost:<port> converted into automatic HTML links. They should be escaped with + symbols.

linkchecker -o html https://documentation.bonitasoft.com/bonita/2021.2/ | tee ~/_tmp/linkchecker_bonita_2021.2/bonita_2021.2_new.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants