kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Broken Links in Developer Documentation

Open vaibhav-agr opened this issue 1 year ago • 12 comments

Observed behavior

When going through the developer documentation I encountered some broken links.

For instance, https://github.com/learningequality/kolibri/blob/277ab0ececb18a76682e34141579d2a8204947fe/docs/getting_started.rst?plain=1#L327

The resource seems to have moved from the provided link and can be found here instead.

Another example, https://github.com/learningequality/kolibri/blob/102b8e19946085a542bc20076f5b5c838261887e/docs/frontend_architecture/components.rst?plain=1#L16

Should point to KDS website.

Expected behavior

The links should redirect user to intended resource.

User-facing consequences

Increases developer time and effort to search for intended resource.

Steps to reproduce

  1. Go to https://kolibri-dev.readthedocs.io/en/develop/getting_started.html#vue-development-tools
  2. Click on Vue.js devtools (Legacy)
  3. Returns 404 page not found
  4. Go to https://kolibri-dev.readthedocs.io/en/develop/frontend_architecture/components.html#design-system
  5. Click on design system
  6. Unable to load site

vaibhav-agr avatar Apr 09 '25 14:04 vaibhav-agr

Further I ran an audit with an online tool and found these additional links as well

Link text Broken Link Error
overall project license https://kolibri-dev.readthedocs.io/en/LICENSE url src 404
loaded with Pipenv https://pipenv.kennethreitz.org/en/latest/advanced/ url src bad host
pingback server https://github.com/learningequality/nutritionfacts url src 404
Vue.js devtools (Legacy) https://devtools.vuejs.org/guide/installation.html url src 404
Kolibri QA channel https://kolibri-beta.learningequality.org/en/learn/ url src bad host
disabling lock verification https://github.com/git-lfs/git-lfs/blob/master/docs/man/git-lfs-config.5.ronn url src 404
release process automation scripts https://github.com/learningequality/kolibri-release-utils/ url src 404
Reporting Guidelines http://kolibri.readthedocs.io/en/develop/contributing.html url src 404
Content Renderer documentation https://design-system.learningequality.org/kcontentrenderer/ url src 404
Vue.js components https://vuejs.org/guide/components.html url src 404
design system http://kolibribeta.learningequality.org/design url src bad host
here http://thesassway.com/beginner/the-inception-rule url src 404
tota11y - an accessibility visualization toolkit http://khan.github.io/tota11y/ url src 404
Contrast Ratio http://leaverou.github.io/contrast-ratio/ url src 404
input properties https://vuejs.org/guide/components.html#Props url src 404
events https://vuejs.org/guide/components.html#Custom-Events url src 404
content slots https://vuejs.org/guide/components.html#Content-Distribution-with-Slots url src 404

vaibhav-agr avatar Apr 09 '25 14:04 vaibhav-agr

Hi! I’m a CS major at the University of Michigan taking a software engineering course, where one of our assignements is to contribute to an opens source project. I want to contribute to Kolibri for the next week or so. I’d love to work on this issue (and potentially another one) for my assignment. Would appreciate any advice or confirmation that no one else is actively working on this. Thanks!

amyjun26 avatar Apr 10 '25 01:04 amyjun26

Hi @amyjun26, please wait for someone to review this issue and add relevant tags. Issues with only 'help wanted' tag are assigned. Meanwhile, going through the contributing guidelines would give you a better idea.

vaibhav-agr avatar Apr 10 '25 04:04 vaibhav-agr

Hi @vaibhav-if! Thanks for reporting this! Would you like to be assigned to this issue? Or can we proceed to assign @amyjun26? Whoever is assigned, it would be good to list the links with which you plan to replace each broken link before proceeding with the fix in the code.

Thanks!

AlexVelezLl avatar Apr 10 '25 15:04 AlexVelezLl

Hi @AlexVelezLl, thanks for asking! I am okay if @amyjun26 wants to work on this. I would be happy to collaborate if it won't affect her assignment.

vaibhav-agr avatar Apr 11 '25 05:04 vaibhav-agr

Hi @AlexVelezLl, its been some time and there's no response. Can you please assign the issue to me? I'll share the links before proceeding with the fix. Thanks!

vaibhav-agr avatar Apr 15 '25 12:04 vaibhav-agr

Hey @vaibhav-if! Thanks! Your contribution is greatly appreciated. I will assign this to you! If you have any questions, please let us know :)

AlexVelezLl avatar Apr 15 '25 14:04 AlexVelezLl

Hi @AlexVelezLl, please review the links once. Some links point to a private repo and might not be broken, it needs to be checked. I would need your input on some other links which I could not find.

Sr. No. Link Text Correct Link / Note
1 overall project license https://github.com/learningequality/kolibri/blob/develop/LICENSE
2 loaded with Pipenv https://pipenv.pypa.io/en/latest/shell.html#automatic-loading-of-env
3 pingback server current link is pointing to a private repo, confirmation needed on whether the link is broken or not.
4 Vue.js devtools (Legacy) https://devtools-v6.vuejs.org/guide/installation.html#using-dependency-package
5 Kolibri QA channel link can be removed?
6 disabling lock verification https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-config.adoc#other-settings
7 release process automation scripts current link is pointing to a private repo, confirmation needed on whether the link is broken or not.
8 Reporting Guidelines https://kolibri-dev.readthedocs.io/en/develop/contributing/code_of_conduct.html#id2
9 Content Renderer documentation cannot find appropriate link (was migrated to kolibri per this comment https://github.com/learningequality/kolibri-design-system/issues/234#issuecomment-2135696081)
10 Vue.js components https://v2.vuejs.org/v2/guide/components
11 design system https://design-system.learningequality.org/
12 here can be removed? additional link exists for context.
13 tota11y - an accessibility visualization toolkit https://blog.khanacademy.org/tota11y-an-accessibility-visualization-toolkit/
14 Contrast Ratio https://www.siegemedia.com/contrast-ratio
15 input properties https://v2.vuejs.org/v2/guide/components#Passing-Data-to-Child-Components-with-Props
16 events https://v2.vuejs.org/v2/guide/components#Listening-to-Child-Components-Events
17 content slots https://v2.vuejs.org/v2/guide/components#Content-Distribution-with-Slots

vaibhav-agr avatar Apr 17 '25 09:04 vaibhav-agr

Thanks for this @vaibhav-if!

Answering to some points, the rest can be kept with the links you proposed :).

  • Number 3 is correct, so we can keep it as it is
  • Number 4: Vue devtools legacy should be pointing to https://devtools-v6.vuejs.org/guide/installation.html#legacy instead (rather than pointing to #using-depencency-package.
  • Number 7 is okay (although we will probably need to update/remove this page in the future šŸ˜… )
  • Lets not touch number 9 for now as this is no longer true and we will need to update it anyways
  • Number 12 can be removed.

Thanks! Please feel free to open a PR for this when time allows šŸ‘.

AlexVelezLl avatar Apr 17 '25 14:04 AlexVelezLl

Thanks for reviewing @AlexVelezLl!

Please tell me if the link in point 5 needs to be removed or if it's fine? I have raised PR for the others. Thanks!

vaibhav-agr avatar Apr 18 '25 13:04 vaibhav-agr

Thanks @vaibhav-if! A teammate will review the PR. For number 5 we can use this link instead: https://kolibri-dev.learningequality.org/en/learn/#/topics/t/95a52b386f2c485cb97dd60901674a98. Apologies I didn't get back to you earlier. Thanks!

AlexVelezLl avatar Apr 24 '25 14:04 AlexVelezLl

No worries @AlexVelezLl, thanks for sharing the link! I have updated it in the PR.

vaibhav-agr avatar Apr 25 '25 06:04 vaibhav-agr