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

Implement zola serve --store-html #2750

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

ppom0
Copy link

@ppom0 ppom0 commented Dec 27, 2024

Fixes #2377

@@ -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) {
Copy link
Collaborator

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

Copy link
Author

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.

src/cli.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep perfect

@Keats
Copy link
Collaborator

Keats commented Jan 4, 2025

Looks like legit tests failures

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

Successfully merging this pull request may close these issues.

2 participants