dev.docs.nbs
#
Documentation utilities.
Module Contents#
Functions#
Initialize a documentation notebook. |
|
Get notebook mode. |
|
Don’t raise any warnings. Optionally capture output for pesky warnings. |
|
Keep the image viewer in scope so it doesn’t get garbage collected. |
API#
- dev.docs.nbs.init(
- mode: dev.docs.types.BuildMode | None = None,
Initialize a documentation notebook.
- dev.docs.nbs.get_mode() dev.docs.types.BuildMode #
Get notebook mode.
- dev.docs.nbs.nowarn(
- capture: bool = False,
Don’t raise any warnings. Optionally capture output for pesky warnings.
- dev.docs.nbs.keep_viewer_in_scope()#
Keep the image viewer in scope so it doesn’t get garbage collected.