selfdoc v0.37.1 /selfdoc serve

Reference for the selfdoc serve command — usage, flags, arguments, and examples for the serve subcommand of the selfdoc CLI.

#selfdoc serve

Serve the documentation site locally with live reload

Effect: mutating

#Flags

Flags
NameShortTypeDefaultEnvDescription
--port-pint8000HTTP port number to serve on (default: 8000, e.g., 3000)
--draftsboolRebuild the site with draft posts included before starting the local server
Search