lab-cosmo / chemiscope

An interactive structure/property explorer for materials and molecules
http://chemiscope.org
BSD 3-Clause "New" or "Revised" License
119 stars 29 forks source link

Integration with sphinx-gallery #341

Closed sofiia-chorna closed 3 weeks ago

sofiia-chorna commented 4 weeks ago

Uses chemiscope.sphinx functionalities to generate output for chemiscope.show calls in a sphinx-gallery example.

ceriottm commented 4 weeks ago

It also works on software-cookbook, but for some reason the sphinx detection seems to be broken so it also shows the error box image Maybe it's just that I didn't clear properly all my caches, but this is where we're at. Other than this, it works seamlessly.

ceriottm commented 3 weeks ago

Also, another thing to check before merging, there're a lot of missing file errors when looking at the website locally - these seem to have no negative effect but if possible I'd clear the source of the errors

127.0.0.1 - - [13/Jun/2024 10:23:37] code 404, message File not found
127.0.0.1 - - [13/Jun/2024 10:23:37] "GET /_static/custom.css HTTP/1.1" 404 -
127.0.0.1 - - [13/Jun/2024 10:23:38] code 404, message File not found
127.0.0.1 - - [13/Jun/2024 10:23:38] "GET /_static/custom.css HTTP/1.1" 404 -
sofiia-chorna commented 3 weeks ago

@ceriottm I see that those missing files errors are currently present on the https://chemiscope.org/docs/. Probably, we could fix it in the separate PR as I suggest it might not be related to the new development.

image