Add local serving and preview - #12
Closed
ritorhymes wants to merge 3 commits into
Closed
Conversation
Add the local workspace model for the multi-repo build system. This adds workspace config and profile support, workspace init, refresh, and doctor commands, generated helper tasks, and the local site build path against sibling repos and theme inputs. The site commands support normal local usage, parity checks, standard clone and git worktree checkouts, and explicit dirty builds from the active content repo.
Add explicit editorial commands and keep them separate from the site command surface. This adds targeted editorial selection and lets proposal validation run independently from the normal site build and check commands.
Add local serving and preview paths for the multi-repo workflow. serve runs the live Zola dev loop and syncs tracked working-tree edits into the build-time repo during the session. preview serves already-built output without rebuilding.
This was referenced Apr 16, 2026
ritorhymes
marked this pull request as ready for review
April 16, 2026 02:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
This is the third PR in the stacked
preprocessorseries for preprocessor#8, splitting the original implementation in preprocessor#9 into smaller reviewable slices. This PR builds on the workspace foundation (#10) and editorial command surface (#11) from the earlier stacked PRs, and adds the local runtime paths for serving and previewing the site. The final stacked PR adds the public workflow documentation.Description
This PR adds the local serving and preview paths on top of the earlier workspace, site build/check, and editorial slices.
It introduces the live local dev-serving loop and a separate built-output preview path, so local runtime work no longer depends only on one-shot site builds.
Changes
servecommand for the live Zola dev looppreviewcommand for serving already-built outputNot Yet In This PR
This PR does not yet add:
That lands in the final stacked PR.
Validation
This serving and preview slice builds cleanly on top of the earlier stacked slices:
cargo buildThe broader runtime and staging paths for the local build system were validated on the original combined implementation in preprocessor#9 before restacking, including clean and dirty site builds, parity-oriented checks, and downstream staging verification from the rewritten EIPs#10 and ERCs#10 branches.
This stacked series preserves the final tracked tree of the original
local-build-systemimplementation from preprocessor#9 exactly.