Maximilian Linhoff
Maximilian Linhoff
:+1: here: the installed package shouldn't depend on the build system
On the current main branch, in the development environment, I do: ``` jupyter notebook examples/tutorials/analysis-3d/event_sampling.py ``` This results in a cell under the section of > Extended source using a...
It happens a couple more times further down in the notebook.
> jupyter notebook examples/tutorials/analysis-3d/event_sampling.py > This line will not work? Because you are trying to execute a .py script with jupyter? It should work (and it does, modulo the broken...
No, this should still be an issue. I boils down to an incompatibility between sphinx-gallery (what is used to render the scripts in the docs and export them back to...
> Opening jupyter lab/notebook and then launching the tutorials work fine on my machine. Which tutorials? The notebook downloaded from the docs page? Or the local .py file?
It seems this issue got addressed some time in the past, there are API docs now: https://ipywidgets.readthedocs.io/en/stable/reference/ipywidgets.html
To reproduce quickly: ``` ❯ python -m sphinx.ext.intersphinx https://ipywidgets.readthedocs.io/en/stable/objects.inv | grep 'Widget Layout.ipynb#display' WARNING:sphinx.sphinx.util.inventory:inventory contains multiple definitions for std:label:examples/Widget Layout.ipynb#display examples/Widget Layout.ipynb#display display : examples/Widget%20Layout.html#id1 ```
See here for a quick fix: https://github.com/sphinx-doc/sphinx/issues/12585#issuecomment-2228420035 E.g. see our fix here: https://github.com/cta-observatory/ctapipe/blob/fix_intersphinx_warning/docs/conf.py#L417-L419
Side note: x509 allows overriding the options via env variables, but the other auth methods do not.