Doc

doc command run documentation site on local:

pugo new site --doc
pugo doc --addr="0.0.0.0:9899"

After new site, it extracts doc data together. So you can run doc to compile them as documentation website.

--addr set the address and port that http server listen on, default is 0.0.0.0:9899