-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement zola serve --store-html #2750
Conversation
components/site/src/lib.rs
Outdated
@@ -114,10 +116,10 @@ impl Site { | |||
} | |||
|
|||
/// Enable some `zola serve` related options | |||
pub fn enable_serve_mode(&mut self) { | |||
pub fn enable_serve_mode(&mut self, both: bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's an enum for it, use it in the params instead of a bool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the new commit correspond to your idea?
I can also squash it onto the previous commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep perfect
Looks like legit tests failures |
Yes indeed! |
Yes that's fine, thanks! |
Fixes #2377