-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix links to pass check_links #826
Comments
@flicj191 Added more specification on this. |
The ACCESS-NRI Intake Catalog section in the tutorials has a broken link but there is not yet a corresponding section in 'Model Evaluation'. Do we just want to link this to the Intake Catalog docs? (https://access-nri-intake-catalog.readthedocs.io/en/latest/index.html) |
Hi @pboubel, |
yes, here: https://access-hive.org.au/tutorials/intake/ |
Also, there is a link to the 'recipe gallery' here https://access-hive.org.au/community_resources/community_med/community_med_recipes/ |
hi @pboubel, the link in the intake tutorials page is supposed to point to here: you can leave the one in the community resources section, it was done a while ago and may need to look into the history, there's a separate issue to review it and organise so we will come to that with that issue #827 and #831 thanks for looking at this! |
Even though we are going to properly address the community resources section in the issues linked, after this issue is fixed the link checker should pass. Thank you @pboubel! |
@atteggiani So I have a few remaining cases that are failing check_links that I'm not sure how to deal with (see this run: https://github.com/ACCESS-NRI/access-hive.org.au/actions/runs/11545655642):
[ERR] %[email protected] | Failed: Unreachable mail address: %[email protected]: Invalid: Email doesn't exist or is syntactically incorrect check_links is mistaking this bit of text in the terminal window for an email it needs to check |
Please just delete all the commented out text generating issues with links.
I am not sure where those links wanted to point to.
That link has been removed because the UM partneship has been "superseeded" by the Momentum partneship for the next generation models. I would substitute the link with the following link to a document about the UM partneship: https://www.metoffice.gov.uk/binaries/content/assets/metofficegovuk/pdf/research/foundation-science/um_partnership_handout.pdf
This needs to be excluded from the check. '^%intel@', to the access-hive.org.au/.github/workflows/lychee-config.toml Lines 4 to 9 in 612f26b
|
Sorry I missed this earlier!! But looking at that page, it looks like its an old version missing edits done from a review, I've found a newer version from my branches and and added to another branch and removed those broken links. |
Thanks @flicj191, I changed the ilamb page to what you have in that branch, with one small fix to a broken link (getting_started/first_steps/ -> getting_started/set_up_nci_account/). @atteggiani However when I run link checker now there are 4 new errors that did not appear before (https://github.com/ACCESS-NRI/access-hive.org.au/actions/runs/11945377713).
These links all work fine for me and they passed the check last week so they may just be temporary errors? Let me know if you'd like me to do anything about them or just submit the pull request. |
Hmm it might have been a temporary problem as they do work fine for me too. |
@atteggiani The 504 errors have disappeared but no dice for https://www.lanl.gov/... Odd because it was not generating the 404 errors before. |
This is so weird and I'm not sure why it is happening. I would say for now let's not worry about it. |
Fix the links urls in the MED section (and a few other sections) to pass
check_links
action.Requirements:
/
) that represents the base website (https://access-hive.org.au/
orhttp://localhost:<port-number>/
if you are deploying locally throughmkdocs serve
)mkdocs.yaml
file (this means also that no links should have theindex.md
file in it).Two practical examples:
Wrong link --> link doesn't work
The reference link is the first link in https://access-hive.org.au/tutorials/ilamb:
access-hive.org.au/docs/tutorials/ilamb.md
Line 3 in 51278bf
This link points to
/model_evaluation/model_evaluation_on_gadi/model_evaluation_on_gadi_ilamb
. This means there should be a page at https://access-hive.org.au/model_evaluation/model_evaluation_on_gadi/model_evaluation_on_gadi_ilamb, but if you click on this link it gives you a 404 error (page doesn't exist).The link should be instead
/model_evaluation/evaluation_on_gadi/ilamb_workflow/
, pointing to https://access-hive.org.au/model_evaluation/evaluation_on_gadi/ilamb_workflow/Internal relative link (and also
index.md
file in it) --> link works but is falsely failed by the link_checkerThe reference link is in https://access-hive.org.au/community_resources/community_med/community_med_recipes:
access-hive.org.au/docs/community_resources/community_med/community_med_recipes.md
Line 4 in 51278bf
The link is
../../model_evaluation/index.md
(note the../../
at the beginning and theindex.md
at the end).In this case the change is easier:
In the case above, the new link should be
/model_evaluation
.Tasks to fix the issue
The text was updated successfully, but these errors were encountered: