-
Notifications
You must be signed in to change notification settings - Fork 384
Check all links #44
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
Comments
Hey Rand - I've given the links a pass. There are two types of problems, 404's and links to valid pages but with an invalid fragment identifier. I've stuck everything in the following spreadsheet: Give it a look at let me know if you have any questions. There are a lot of dupes in the first sheet from broken links in header/footer (feeds.xml, Command-line-reference.html). I believe there are only ~50 unique 404s. I've only processed the LB2 docs. |
Awesome! I'll get on it ASAP. |
Hi @doublemarked I ran thru that spreadsheet, and fixed all the links--well, I think so anyway. Many of the breakages were due to a couple broken links in the nav sidebar and in include templates, so that knocked out a bunch out. If you would like, please run the link check again, and we'll see what's left! :-) Thanks for your help! |
@crandmck Updated the spreadsheet: https://docs.google.com/spreadsheets/d/1cXtr617d_FiK2dDernkWkrJ8tFZRXw3ptqWpyQe1zTw/edit#gid=487594605 From the looks of it, just a handful of 404s remain but a lot of identifiers need to be fixed. |
Let me share with you how I'm generating these lists. I'm still happy to rerun things too, just let me know. For the broken links I'm using the following tool: http://peacockmedia.software/mac/integrity-plus/ For the bad identifiers I hacked together the following (execute from within
|
Awesome, thanks @doublemarked. I'll try to get to this over the weekend. |
Thanks again @doublemarked, I fixed all the links identified in the Google doc. And I fixed a few others I found myself. ... Thanks alsofor providing how you did this--could be useful in the future. I didn't have a chance to run it myself, so if you want to do so again, that would be great. At this point, I hope that most of the broken links have been fixed! |
@crandmck getting closer, but a few things remain. Spreadsheet updated w/ round 3 data! |
OK, done! Third time is charm, I hope... (fingers crossed) |
The 404s from the crawler are unchanged. However, it looks like all the bad identifiers are fixed :) |
Ha ha, I missed that whole tab! So, the broken link to feed.xml was on every page. Fixed that with an edit to I fixed all the other links, except for:
Anyway, I'm going to go ahead and close this issue, because I think we're pretty close to being done. If there are still some broken links, please either reopen or open an new issue. THANK YOU @doublemarked for your help!! |
@crandmck ok all sounds good! Just one response regarding,
Does not appear to be an artifact of the link checker. These are bad relative links to things that are probably supposed to be off-site or something. For example the projects.ejs one - it's caused by this link from readmes/loopback-example-access-control.md (included by Tutorial-access-control.md):
|
Aha! Thanks for clarification. This makes more sense. This is caused by relative links in included READMEs (2nd bullet in my previous comment). So, we'll address those in each README. Basically: a relative link in a README to another file in the repo works fine in GitHub, but not when the document is used anywhere else (e.g. npm or loopback.io). |
We need to run a comprehensive link-check on the site to identify broken links.
The text was updated successfully, but these errors were encountered: