Skip to content

Revert no-index in headers#13364

Closed
sarah11918 wants to merge 186 commits into
mainfrom
headers-for-v6
Closed

Revert no-index in headers#13364
sarah11918 wants to merge 186 commits into
mainfrom
headers-for-v6

Conversation

@sarah11918

@sarah11918 sarah11918 commented Mar 9, 2026

Copy link
Copy Markdown
Member

Reverts the headers used for the preview v6.docs.astro.build

Replaced by #13372

sarah11918 and others added 30 commits September 15, 2025 22:21
Co-authored-by: Matt Kane <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Armand Philippot <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Matt Kane <[email protected]>
Co-authored-by: Junseong Park <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Chris Swithinbank <[email protected]>
Co-authored-by: Yan <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Matt Kane <[email protected]>
Co-authored-by: Armand Philippot <[email protected]>
Co-authored-by: Yan <[email protected]>
Co-authored-by: Florian Lefebvre <[email protected]>
Co-authored-by: Armand Philippot <[email protected]>
…vior (#12639)

Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Florian Lefebvre <[email protected]>
Co-authored-by: Armand Philippot <[email protected]>
florian-lefebvre and others added 18 commits March 4, 2026 12:01
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Yan <[email protected]>
Co-authored-by: bjohansebas <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: ArmandPhilippot <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: ArmandPhilippot <[email protected]>
Co-authored-by: delucis <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Armand Philippot <[email protected]>
Co-authored-by: Matthew Phillips <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Armand Philippot <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Princesseuh <[email protected]>
Co-authored-by: delucis <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
@netlify

netlify Bot commented Mar 9, 2026

Copy link
Copy Markdown

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 6cd5b3d
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69aeb68b99448b000866199b
😎 Deploy Preview https://deploy-preview-13364--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarah11918 sarah11918 mentioned this pull request Mar 9, 2026
10 tasks
@sarah11918 sarah11918 added this to the v6.0.0 docs milestone Mar 9, 2026
@sarah11918 sarah11918 added the 6.0 label Mar 9, 2026

@delucis delucis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It might be best to merge this directly to main immediately after merging the v6 branch.

That would ensure that the version deployed at v6.docs.astro.build retains a no-index header even after we release these docs.

(The alternative is to delete the v6 subdomain when we release. We could also do that if preferred — maybe with a redirect to the regular docs.astro.build.)

@sarah11918

Copy link
Copy Markdown
Member Author

Sure, if that makes more sense! I suspect we are not going to keep a v6.docs branch around (or at least, for very long) because by the time we do want a dedicated v6.docs branch, it'll be when we're releasing v7 and in the meantime that branch will need to be constantly kept up with main (or mirrored I guess?)

Happy to let you decide which is the best path here!

@delucis

delucis commented Mar 9, 2026

Copy link
Copy Markdown
Member

OK, plan of action:

  1. Merge Astro v6.0 #12322
  2. Merge this PR (Revert no-index in headers #13364 — crazy that there are 1,000 PRs between these 😄)
  3. Create a temporary new v6 branch that will redirect with a 301 status code from any v6.docs.astro.buid/* URL to docs.astro.build/*. This will ensure any v6 links hanging around (e.g. v6 beta blog post, etc.) will keep working in the short-term.
  4. (Medium term) Remove that temporary branch once we’re happy most people won’t hit it.
  5. (Long term) Astro v7 and a new v6 branch to archive docs will be made

@sarah11918

Copy link
Copy Markdown
Member Author

I've also captured those steps in #12322

@sarah11918

Copy link
Copy Markdown
Member Author

Note, after the v6 branch PR is merged, this will be merging to main. I'll handle that tomorrow!

Base automatically changed from v6 to main March 10, 2026 09:53
@sarah11918 sarah11918 closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.