-
Notifications
You must be signed in to change notification settings - Fork 260
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
Broken links in website docs #1277
Comments
👋 Thanks for opening your first issue here! Please filled out the template with as much details as possible. We appreciate that you took the time to contribute! |
Potential solutionThe plan to solve the bug involves updating the relative links in the What is causing this bug?The bug is caused by the use of relative links in the CodeTo implement the solution, we need to replace each relative link in the 1. `[Installation](https://mintpy.readthedocs.io/en/latest/installation.html)`
2. `[path to where the files are](https://mintpy.readthedocs.io/en/latest/dir_structure.html)`
3. `[Example](https://mintpy.readthedocs.io/en/latest/demo_dataset.html)`
4. `[Here](https://mintpy.readthedocs.io/en/latest/scripts/compare_velocity_with_diff_tropo.html)`
5. [`mintpy.objects`](https://mintpy.readthedocs.io/en/latest/src/mintpy/objects.html)
6. [`mintpy.utils`](https://mintpy.readthedocs.io/en/latest/src/mintpy/utils.html)
7. `[Quick start with example datasets](https://mintpy.readthedocs.io/en/latest/demo_dataset.html)`
8. `[Example data directory](https://mintpy.readthedocs.io/en/latest/dir_structure.html)`
9. `[Example template files](https://mintpy.readthedocs.io/en/latest/templates/README.html)`
10. `[contributing guide](https://mintpy.readthedocs.io/en/latest/CONTRIBUTING.html)`
11. `[default template file](https://mintpy.readthedocs.io/en/latest/src/mintpy/defaults/smallbaselineApp.cfg.html)`
12. `[reference file](https://mintpy.readthedocs.io/en/latest/references.html)` How to replicate the bugTo replicate the bug, follow these steps:
By following these steps, you can confirm that the relative links do not work on the documentation site, highlighting the need for the proposed solution. Click here to create a Pull Request with the proposed solution Files used for this task: Changes on docs/README.mdThe issue reported is about broken links in the documentation site, which are currently using relative paths that work on GitHub but not on the documentation site hosted on Read the Docs. The task for this file is to replace these relative links with absolute links that point to the correct locations on the documentation site. Analysis of the FileThe
Suggested FixTo fix the broken links, these relative links should be replaced with absolute links that point to the correct locations on the documentation site. The absolute links should be constructed based on the structure of the documentation site. For example, if the documentation site is structured such that these files are located under specific sections or directories, the links should reflect that structure. For instance, if the ConclusionThe broken links in the Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect. Current plan usage: 0.00% Have feedback or need help? |
Thanks for noticing this issue, it seems to happen to all the relative links outside the |
Description of the problem
I see the README has links like
[
mintpy.objects](../src/mintpy/objects)
. These work on Github but are broken on the docs site (https://mintpy.readthedocs.io/en/latest/). I think replacing these with absolute rather than relative links will fix them. I'm happy to submit a PRThe text was updated successfully, but these errors were encountered: