Forrest logo
back to the zola tool

zola:tldr:f6ede

zola: Build all pages just like the build command would, but without writing any of the results to disk.
$ zola check
try on your machine

The command "zola check" is typically used in the context of the Zola static site generator. Zola is a high-performance static site generator built with Rust. The "check" command in Zola is used to verify the correctness of your project's configuration and content files before generating the static files for your site.

When you run "zola check," Zola will perform the following checks:

  1. Syntax Check: It will check for syntax errors or typos in your project's configuration and content files (e.g., Markdown files).

  2. Broken Links Check: If you have links within your content files, Zola will verify if these links are valid and they point to existing pages or resources.

  3. Media Check: Zola will ensure that any media files (images, videos, etc.) referenced in your content files exist at the specified locations.

  4. Duplicate Anchors Check: If you have anchor links within your content files, Zola will warn about any duplicate anchor names which could cause conflicts.

The "zola check" command helps you catch potential issues and errors in your project's files, allowing you to fix them before generating your site.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the zola tool