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
nikola build
succeeds in building a site without a config file
#1575
Comments
If I understand the old code correctly (https://github.com/getnikola/nikola/blob/007a0e7cf611ef9e377644fca8600ff2b258d8df/nikola/__main__.py), that has already been the situation before adding the switch to specify the configuration file's location. Now it outputs a warning, though. |
If we want this not to work, I'd suggest to supply the |
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Actually, no. This is caused by b985b2f. Before this commit,
The culprit: config['__configuration_filename__'] = conf_filename What is wrong with this? You see, we determine whether or not a site is configured by In order to fix this error and restore the old behavior (coming from Another change I made, trying to use a different config file that does not exist is now an error that leads to |
Ah, ok, that's one way to do it. But your change now breaks |
Ah, you already changed that. Sorry, didn't see that... |
cc @felixfontein
The text was updated successfully, but these errors were encountered: