Skip to content

Commit 4ce401a

Browse files
committed
Try workaround
1 parent 8c4d37f commit 4ce401a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

jupyter_client/manager.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@
4242
from .provisioning import KernelProvisionerBase
4343
from .provisioning import KernelProvisionerFactory as KPF # noqa
4444

45+
# After an upgrade to Sphinx 9 and myst 5, the doc build started to fail
46+
# with the following error: :8: (ERROR/3) Unexpected indentation.
47+
# This seems to be due to the docstring of the wrapper function inside
48+
# in_pending_state. However, removing the docstring doe snot fix the issue
49+
# since we use the :undoc-members: directive with automodule.
50+
# The workaround is to explicitly set what we want to document
51+
52+
__all__ = [
53+
"KernelManager",
54+
"AsyncKernelManager",
55+
"start_new_kernel",
56+
"start_new_async_kernel",
57+
"run_kernel",
58+
"in_pending_state",
59+
]
4560

4661
class _ShutdownStatus(Enum):
4762
"""

0 commit comments

Comments
 (0)