feat: branch deploy versioning for dev docs#48
Open
thieung wants to merge 1 commit intonextlevelbuilder:masterfrom
Open
feat: branch deploy versioning for dev docs#48thieung wants to merge 1 commit intonextlevelbuilder:masterfrom
thieung wants to merge 1 commit intonextlevelbuilder:masterfrom
Conversation
Support parallel docs for stable (master) and dev branches: - Deploy workflow triggers on both master and dev branches - Dev site detection via hostname (pages.dev or dev.* subdomain) - Warning banner with i18n (EN/VI/ZH) on dev site - SEO noindex meta tag injected on dev site only - Audit script accepts --source-branch param to target goclaw branch
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.
Summary
masteranddevbranches (Cloudflare Pages branch preview)*.pages.devordev.*subdomain)noindex, nofollowmeta tag injected on dev site to prevent SEO indexing--source-branch=main|devparam to audit against correct goclaw branchContext
Upstream goclaw froze stable on
mainand createddevbranch for new development. This PR prepares goclaw-docs to serve parallel docs for both versions using Cloudflare Pages branch preview.Test plan
devbranch → verify Cloudflare preview URL shows warning banner./scripts/audit-docs.sh --source-branch=mainand--source-branch=devdevbranch frommasterand push to trigger first dev deployment