Closed kosack closed 4 months ago
Could it be that that using .. code-block
is ignored? The Numpydoc examples use doctest format, but these examples are not tests and should not be executed, only displayed.
This is a rst Syntax issue,
Code block needs two colons:
.. code-block:: Python
Foo
I don't know how many times I looked at that and didn't notice :-) Thanks!
Describe the bug
Looking at the docs for example here: https://ctapipe.readthedocs.io/en/latest/api/ctapipe.core.telescope_component.TelescopeParameter.html#ctapipe.core.telescope_component.TelescopeParameter
There is a set of examples in the docstring under the Examples heading. The heading appears in the Sphinx output ,but not the examples for some reason.
According to the NumPyDoc documentation, the Examples section should be shown
Expected behavior
Full documentation is shown
Supporting information
Additional context Add any other context about the problem here.