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

Removes mention of hybrid, rewrites rendering pages #9339

Merged
merged 8 commits into from
Sep 10, 2024

Conversation

sarah11918
Copy link
Member

@sarah11918 sarah11918 commented Sep 8, 2024

Description (required)

The main changes in this PR are:

  • removes all mention of output: 'hybrid', the word "hybrid" etc.

  • Adds a new /basics/rendering.mdx (replacing rendering modes page) and guides/on-demand-rendering.mdx (replacing server-side rendering page) (new pages, to not deal with i18n fallout yet)

  • updates the nav to point to the new page (but the old one is not yet deleted, for safety, link checker etc.)

  • updates all the links for the new English pages (no translations were harmed in the making of this PR)

  • Netlify redirects:

    basics/rendering-modes -> /basics/rendering/
    guides/server-side-rendering -> /guides/on-demand-rendering

Note: Nothing here will affect translations/links right now because I made two new pages and updated the English site accordingly

TODO OUTSIDE OF THIS PR:
Error messages and config reference in the main repo

Need to search for:

  • the word hybrid
  • links to either /rendering-modes/ or /server-side-rendering/ (NOTE: anchor links are not necessarily the same on the new pages, so it's not just a hot swap)

TODO EVENTUALLY:
I did update some language around the word "hybrid", but I have NOT tried to purge SSR from common usage. For now, it's fine. I'll do it over the course of the beta, and not in time for launch.

I believe this PR is internally consistent for English, and I also believe it doesn't affect the other languages.

Copy link

netlify bot commented Sep 8, 2024

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 6044775
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/66e042a70fd2480008ceb8a9
😎 Deploy Preview https://deploy-preview-9339--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 site configuration.

@sarah11918 sarah11918 marked this pull request as ready for review September 8, 2024 10:55
Copy link
Contributor

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

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

Except two typo and one missing link, it looks good to me!

I also added two suggestions regarding the layout for static/server, but these are mostly nitpicks.

src/content/docs/en/basics/rendering.mdx Outdated Show resolved Hide resolved
src/content/docs/en/basics/rendering.mdx Show resolved Hide resolved
src/content/docs/en/guides/on-demand-rendering.mdx Outdated Show resolved Hide resolved
src/content/docs/en/basics/rendering.mdx Outdated Show resolved Hide resolved
src/content/docs/en/basics/rendering.mdx Outdated Show resolved Hide resolved
@sarah11918 sarah11918 merged commit be58024 into 5.0.0-beta Sep 10, 2024
4 of 5 checks passed
@sarah11918 sarah11918 deleted the hybrid-removed branch September 10, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants