Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying the root directory in the CLI arguments #899

Closed
sandhose opened this issue Dec 23, 2019 · 1 comment
Closed

Allow specifying the root directory in the CLI arguments #899

sandhose opened this issue Dec 23, 2019 · 1 comment
Labels
done in pr Already done in a PR

Comments

@sandhose
Copy link

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:

@Keats
Copy link
Collaborator

Keats commented Jan 17, 2020

Anyone wants to pick that up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done in pr Already done in a PR
Projects
None yet
Development

No branches or pull requests

2 participants