Skip to content
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

Wrong links to edit in the gallery web page. #407

Open
Esteban82 opened this issue May 9, 2023 · 2 comments
Open

Wrong links to edit in the gallery web page. #407

Esteban82 opened this issue May 9, 2023 · 2 comments
Labels
bug Report a problem that needs to be fixed

Comments

@Esteban82
Copy link
Member

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 Esteban82 added the bug Report a problem that needs to be fixed label May 9, 2023
@leouieda
Copy link
Member

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.

@Esteban82
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report a problem that needs to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants