eo-learn icon indicating copy to clipboard operation
eo-learn copied to clipboard

[BUG] Wrong link in docs

Open maximlamare opened this issue 4 years ago • 1 comments

Wrong link in documentation

In the documentation example showing how to create a Time Lapse: TimeLapse.ipynb, the link to the notebook (top right of the page) is the following: Edit on Github

This link sends to a 404 not found page.

Expected behavior

A link to the notebook: https://github.com/sentinel-hub/eo-learn/blob/master/examples/core/TimeLapse.ipynb

Stack trace or screenshots

Screenshot from 2020-11-10 14-24-45

maximlamare avatar Nov 10 '20 13:11 maximlamare

There are quite a few pages in eo-learn documentation where this link doesn't work. It is because of the way we build documentation:

  • example notebooks are first copied from examples folder to docs folder,
  • some pages are generated from other content.

Because of that Sphinx generates these link with the new paths instead of original. Fixing this would require some research in Sphinx functionalities.

AleksMat avatar May 21 '21 09:05 AleksMat

This was actually fixed by @AleksMat a while ago by employing some dark sphinx magic

zigaLuksic avatar Jan 20 '23 11:01 zigaLuksic