Site
nodekit.build_site
¶
Build a static website for a Graph and save it to disk.
Parameters:
-
graph(Graph) –Graph to serialize and render into a site.
-
savedir(PathLike | str) –Directory to write the site into.
Returns:
-
BuildSiteResult–BuildSiteResult with the site root, entrypoint, and dependency list.
Raises:
-
ValueError–If savedir is not a directory.
nodekit.SiteSubmission
pydantic-model
¶
Fields:
-
trace_gzipped_base64(str) -
platform_context(PlatformContext)