-
Notifications
You must be signed in to change notification settings - Fork 0
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
Multiple broken links in documentation #1092
Comments
Sound like could be added to CI checks as well? |
Yes, if possible. |
Probably not, but it would be empty without those, and other platforms have more content in these tabs. |
@BeataZdunczyk We have to handle that, please review these pages, I am in favor of removing the duplicate links since we already have them in the navigation tab. Especially if it would simplify the work to be done with relative links as suggested by Krystian. |
Not sure about this one but rediretcs are working. Maybe the syntax should be different... I have already fixed a couple of rebase/squash mistakes for the PR 851 already: |
So far I've managed to get it down to
|
All problems gone as of Dasharo/docs#924 |
Component
Dasharo documentation
Device
Protectli FW6, Protectli VP2410, Protectli VP2420, Protectli VP4630, Protectli VP4650, Protectli VP4670, Protectli VP6630, Protectli VP6650, Protectli VP6670, other
Dasharo version
No response
Dasharo Tools Suite version
No response
Test case ID
No response
Brief summary
Review done before merging PRs to documentation is inadequate. Output of
mkdocs serve
shows a warning for each broken link, but it is hidden between a few hundredINFO
lines.How reproducible
No response
How to reproduce
Click on
Releases
on https://docs.dasharo.com/unified/protectli/overview/#fw6Expected behavior
Browser navigates to list of releases.
Actual behavior
404
Screenshots
No response
Additional context
https://paste.dasharo.com/?c7e5b8307c34a8ed#7HZvr9UpGctQxiXiSCe35cQNXJhKrdGJfgoRgzrvYojc - this is an output of
mkdocs serve
on currentmaster
. It has 300 informative lines about absolute links (which most likely will break when the files are moved around, e.g. to unified directory) and 22 warnings about broken links. Not all of the warnings are printed at the end, so one has to scroll the screen through all theINFO
noise to notice them.Solutions you've tried
Similar issue happened when I was working on TrenchBoot documentation, the easy-but-tedious solution is to do what
mkdocs
suggests and change all absolute links to relative ones. This will get rid of almost all of theINFO
s (only last few lines are left, with time summary and link to local preview), which makes it easier to focus on real issues.Another part of the problem is that we currently don't demand from neither authors nor reviewers to check the output of
mkdocs serve
. This can be fixed by adding instruction to README, e.g. like this one.The text was updated successfully, but these errors were encountered: