mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Fix some formatting for config options help
This commit is contained in:
parent
0dd26a9b32
commit
80b931897c
@ -87,13 +87,13 @@ class FileContentsManager(FileManagerMixin, ContentsManager):
|
||||
This can be used to process the file on disk,
|
||||
such as converting the notebook to a script or HTML via nbconvert.
|
||||
|
||||
It will be called as (all arguments passed by keyword):
|
||||
It will be called as (all arguments passed by keyword)::
|
||||
|
||||
hook(os_path=os_path, model=model, contents_manager=instance)
|
||||
|
||||
path: the filesystem path to the file just written
|
||||
model: the model representing the file
|
||||
contents_manager: this ContentsManager instance
|
||||
- path: the filesystem path to the file just written
|
||||
- model: the model representing the file
|
||||
- contents_manager: this ContentsManager instance
|
||||
"""
|
||||
)
|
||||
def _post_save_hook_changed(self, name, old, new):
|
||||
|
@ -81,14 +81,14 @@ class ContentsManager(LoggingConfigurable):
|
||||
such as removing notebook outputs or other side effects that
|
||||
should not be saved.
|
||||
|
||||
It will be called as (all arguments passed by keyword):
|
||||
It will be called as (all arguments passed by keyword)::
|
||||
|
||||
hook(path=path, model=model, contents_manager=self)
|
||||
|
||||
model: the model to be saved. Includes file contents.
|
||||
modifying this dict will affect the file that is stored.
|
||||
path: the API path of the save destination
|
||||
contents_manager: this ContentsManager instance
|
||||
- model: the model to be saved. Includes file contents.
|
||||
Modifying this dict will affect the file that is stored.
|
||||
- path: the API path of the save destination
|
||||
- contents_manager: this ContentsManager instance
|
||||
"""
|
||||
)
|
||||
def _pre_save_hook_changed(self, name, old, new):
|
||||
|
Loading…
Reference in New Issue
Block a user