Skip to content

Fix JupyterLite URL with nested gallery folders#1105

Merged
larsoner merged 2 commits intosphinx-gallery:masterfrom
lesteve:fix-jupyterlite-url
Mar 17, 2023
Merged

Fix JupyterLite URL with nested gallery folders#1105
larsoner merged 2 commits intosphinx-gallery:masterfrom
lesteve:fix-jupyterlite-url

Conversation

@lesteve
Copy link
Copy Markdown
Member

@lesteve lesteve commented Mar 17, 2023

I realised this when trying to use the feature on scikit-learn where there are nested folders

You can also see it in sphinx-gallery, go to https://sphinx-gallery.github.io/stable/auto_examples/no_output/just_code.html, click on JupyterLite button, you will get a HTTP 404.

Let me know if you want me to add a test for this! This was easy to modify an existing test so I did it!

@larsoner larsoner added the bug label Mar 17, 2023
@larsoner larsoner merged commit c64db73 into sphinx-gallery:master Mar 17, 2023
@larsoner
Copy link
Copy Markdown
Contributor

Thanks @lesteve !

@lesteve lesteve deleted the fix-jupyterlite-url branch March 17, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants