New project¶
You can create a new project from the command line using the zensical new
command. It requires a path as an argument that specifies where the new project
is to be created. If the path does not yet exist, it will be created for you.
Usage¶
The directory structure created within the project directory consists of:
-
The
zensical.tomlfile serves as the project's configuration and can be customized following the instructions in the setup guides. -
The
docsdirectory contains your documentation's sources. The providedindex.mdandmarkdown.mdfiles are included as starting points. The directory can be changed viadocs_dir -
The
.githubfolder contains a GitHub Actions workflow that helps to automatically build and publish your documentation site to GitHub Pages. You can modify the workflow to suit your own CI/CD needs, or remove the folder entirly if you use a different platform.
Options¶
You can run zensical new --help to get command-line help for the new
command. Apart from this, the new command does not have any additional
options at the moment.