jellycell.cli.commands.render¶
jellycell render — generate the HTML catalogue under site/.
Module Contents¶
Classes¶
One rendered notebook entry. |
|
JSON schema for |
Functions¶
Generate the HTML catalogue from cached manifests. |
API¶
- class jellycell.cli.commands.render.RenderedEntry(/, **data: Any)¶
Bases:
pydantic.BaseModelOne rendered notebook entry.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.
- class jellycell.cli.commands.render.RenderReport(/, **data: Any)¶
Bases:
pydantic.BaseModelJSON schema for
jellycell render --json. Spec §10.1 contract.Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- entries: list[jellycell.cli.commands.render.RenderedEntry]¶
‘Field(…)’
- jellycell.cli.commands.render.render(ctx: typer.Context, notebook: pathlib.Path | None = typer.Argument(None, help='Notebook to render. Omit to render the whole project + index.'), standalone: bool = typer.Option(False, '--standalone', help='Base64-inline image assets for a self-contained HTML file.')) None¶
Generate the HTML catalogue from cached manifests.