Skip to content

Allow specifying the root directory in the CLI arguments #899

@sandhose

Description

@sandhose

It would be great to be able to set the root directory of the site when building it, e.g zola build --root my_website/.
A use case of this would be in scripts & some build systems. I tried to make Bazel to run Zola, but I had to write a wrapper that cd into the site directory before building it.

To do this, Zola should:

Metadata

Metadata

Assignees

No one assigned

    Labels

    done in prAlready done in a PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions