Skip to content

Create your site - Zensical Documentation

Zensical Documentation > Create your site


Introducing Zensical Studio – Refactor documentation like code.

Create your site

After you've installed Zensical, you can bootstrap your project documentation using the zensical executable. Go to the directory where you want your project to be located and enter:

zensical new .

This creates the following structure:

.
├─ .github/workflows
│  └─ docs.yml
├─ docs/
│  ├─ index.md
│  └─ markdown.md
└─ zensical.toml

To learn more about the specific files and directories that are generated for you, please consult the usage guide for the new command.

Configuration

Zensical comes with many configuration options that have sensible defaults, which allows to build a documentation site with almost no configuration. site_name is the only required setting1:

[project]
site_name = "My site"

Unless you're building documentation for offline usage, it's strongly recommended to specify the site_url setting as well, since it's a prerequisite for the following features:

Preview as you write

Zensical Studio

Zensical Studio brings workspace intelligence to Zensical and MkDocs projects and integrates with Visual Studio Code and similar editors2. It gives you a synchronized side-by-side view of your Markdown source and rendered documentation, with the preview updating as you write:

Zensical

Zensical includes a web server, so you can preview your documentation site as you write. The server will automatically rebuild the site when you make changes to source files. Start it with:

zensical serve

Point your browser to localhost:8000 and you should see:

Build your site

When you're finished editing, you can build a static site from your Markdown files with:

zensical build

The contents of this directory make up your project documentation. There's no need for operating a database or server, as it is completely self-contained. The site can be hosted on GitHub Pages, a CDN of your choice or your private web space.

If you intend to distribute your documentation as a set of files to be read from a local filesystem rather than a web server (such as in a .zip file), please consult the offline usage guide.



© 2025 - 2026 Zensical LLC | Made with Zensical


  1. site_name is currently required because MkDocs, the static site generator Zensical replaces, requires it. We plan to make this setting optional in a future release. 

  2. Zensical Studio will be supported in more editors in the future, including JetBrains IDEs and Neovim.