serve

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package serve implements the "ctx serve" command for serving static sites locally.

The serve command starts a local HTTP server for the journal site or any specified directory, using zensical as the static site engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the serve command.

Serves a static site by invoking zensical serve on the specified directory.

Returns:

  • *cobra.Command: The serve command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL