pidgy
mkdocs extension¤
pidgy
ships an extension for publishing notebooks with all mkdocs
rich document features.1
%reload_ext pidgy
the extension exists to get the best out of notebooks and mkdocs
.
it using standard jupyter
machinery to converts to markdown documents that mkdocs
can consume.
notebook metadata¤
currently, we do nothing with notebook metadata, but ideas are welcome. one idea would be to run execute notebooks.
## jupyter displays
`pidgy` wants you to have all the tools you need to write and build applications. when you the load the `pidgy` extension you have access to user interfaces in `IPython.display` and `ipywidgets` to get you started.
jupyter displays¤
pidgy
wants you to have all the tools you need to write and build applications. when you the load the pidgy
extension you have access to user interfaces in IPython.display
and ipywidgets
to get you started.
### jupyter widgets
jupyter widgets are included in the display, but that are not interactive. they can be used interactively in jupyter lite.
jupyter widgets¤
jupyter widgets are included in the display, but that are not interactive. they can be used interactively in jupyter lite.
IntSlider(10, 0, 100, 1, description=
an ipywidgets slider
)
IntSlider(10, 0, 100, 1, description=
an ipywidgets slider
)
## `pidgy` `mkdocs` mode
when `%load_ext pidgy` or `%reload_ext pidgy` is found in a notebook cell, we render the documents in `pidgy` mode.
the inputs are hidden and all that is published are the outputs of the document.
pidgy
mkdocs
mode¤
when %load_ext pidgy
or %reload_ext pidgy
is found in a notebook cell, we render the documents in pidgy
mode.
the inputs are hidden and all that is published are the outputs of the document.
-
originally
pidgy
used the usefulmkdocs-jupyter
for rendering notebooks. this project inspiredpidgy
s extension which moves thenbconvert
process earlier in themkdocs
event cycle; it drops a lot of the form thatmkdocs-jupyter
maintains.s ↩