harmonica icon indicating copy to clipboard operation
harmonica copied to clipboard

Wrong links to edit in the gallery web page

Open Esteban82 opened this issue 2 years ago • 2 comments

I try to edit this gallery example image

and it sent me here: https://github.com/fatiando/harmonica/edit/main/doc/gallery/gravity_disturbance_topofree.rst

Screenshot_20230509_145542

Esteban82 avatar May 09 '23 18:05 Esteban82

Hi @Esteban82 thanks for reporting. This is because the sphinx-book-theme isn't able to recognise that the actual files for the sphinx-gallery source aren't the rst files. In the past, we had manually manipulated the template to insert the correct links for lost that in the migration to this new theme. I'm not sure if it's possible to do a similar hack here.

Honestly, I'm not sure a gallery makes a lot of sense for these projects since the figures themselves aren't very informative when looking at the gallery. For matplotlib and PyGMT it makes sense but here maybe we're better served by having more how-to pages in the user guide.

leouieda avatar May 12 '23 06:05 leouieda

Thanks Leo for your answer. I just wanted to report that the link doesn't work. Maybe it should be remove.

Yes, the how-to are always good.

Esteban82 avatar May 15 '23 16:05 Esteban82