docs: Fix link anchor#2810
Conversation
Signed-off-by: Lluis Miquel Martinez Campos <lluiscampos@proton.me>
|
Hello dear Mender people 😊 They are probably more links like this one broken - could it be some update in the Grav rendering engine or something that has shortened the anchors? |
|
@pasinskim Maybe you can triage this one? The fact that CI is failing indicates that the test is testing the wrong thing - in production site docs.mender.io you can check what are the valid links 😃 |
I am not marcin but let me see what I can see Are you sure that you don't want to come back? |
|
The CI job Grav CMS, truncates heading anchors to 64 characters (the default In mender-docs-site we only override
So the PR's new anchor matches the live site, but CI rejects it because CI doesn't apply Grav's truncation. If we want to keep the truncation then I guess we should look to update @oleorhagen Or we could whitelist that url In the mender-docs repo https://github.com/mendersoftware/mender-docs/blob/master/.checklinks-whitelist Or maybe remove grav truncation adding I don't have much opinion on which of these is most correct. I would sort of lean to removing truncation, but I don't know if there is good reason to truncate. |
|
Thanks for your analysis @nickanderson My (external) opinion is that we (you guys) should modify the check to match the production side behavior.
Not just yet. As you can see I am still using Mender so I haven't got far enough 😆 |
No description provided.