package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package root implements the ctx serve command.
It serves a static site locally by invoking zensical on the specified
directory.
Cmd returns the serve command.
Serves a static site by invoking zensical serve on the specified directory.
Returns:
- *cobra.Command: The serve command
Run handles the serve command.
Parameters:
- args: Optional directory to serve
Returns:
- error: Non-nil if directory is invalid, config is missing,
or zensical is not found
Source Files
¶
Click to show internal directories.
Click to hide internal directories.