Command line interface¶
Apart from the fact that zensical replaces mkdocs on the command line, there
are some slight differences. Make sure to review these and update your build and
CI scripts accordingly. Refer to the command line interface page in our
documentation for further details.
-
buildandservecommands:-
The
--theme(-t) option is not supported, and we currently only offer a single theme, though this will change once we start working on the module system. -
The
--use-directory-urlsand--no-directory-urlsoptions are not supported. Setuse_directory_urlsin your configuration file instead, exactly as in MkDocs. -
--site-diris not supported. Setsite_dirin your configuration file instead. -
--strictmode is currently ignored, but we're working on adding proper validation of configuration options and links between pages, gracefully failing the build.
-
-
servecommand: the--dirtycommand-line option is unnecessary, and thus ignored, since Zensical employs caching where possible to be fast by default. -
gh-deploycommand: we plan to support many more deployment methods, so we're not implementing MkDocs'gh-deploycommand. See our publishing guide for alternatives. -
get-depscommand: this command is not supported. Instead, we recommend declaring explicit dependencies in thepyproject.tomlfile, as per standard Python development practices.