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

docs: move redirects #556

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

Meschreiber
Copy link
Contributor

The docs team is centralizing redirects from _redirects files into the docs platform repository. (See https://github.com/apollographql/docs-rewrite/pull/370)

Docs in external repositories can still add redirects in page frontmatter like so:

---
title: Apollo GraphOS Platform
description: The GraphQL API Platform
redirectFrom:
    - /intro/platform
    - /graphos
    - /federation/managed-federation/overview
---

Redirects in a page's frontmatter take precedence over redirects in the _redirects file but flag a warning.

@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Dec 12, 2024

✅ Docs Preview Ready

No new or changed pages found.

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for apollo-ios-docc canceled.

Name Link
🔨 Latest commit 31f0861
🔍 Latest deploy log https://app.netlify.com/sites/apollo-ios-docc/deploys/675b543f28321800079ea245

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for eclectic-pie-88a2ba ready!

Name Link
🔨 Latest commit 31f0861
🔍 Latest deploy log https://app.netlify.com/sites/eclectic-pie-88a2ba/deploys/675b543f946b8b0008d4c62c
😎 Deploy Preview https://deploy-preview-556--eclectic-pie-88a2ba.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.

Copy link
Member

@calvincestari calvincestari left a comment

Choose a reason for hiding this comment

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

These redirects can be found in the docs repo PR - here.

@Meschreiber
Copy link
Contributor Author

Thanks @calvincestari ! Would you mind merging this and apollographql/apollo-ios#3488 please and thank you? (I don't have write access.)

@calvincestari calvincestari merged commit 35c0e40 into apollographql:main Dec 13, 2024
27 checks passed
BobaFetters pushed a commit that referenced this pull request Dec 13, 2024
BobaFetters pushed a commit that referenced this pull request Dec 13, 2024
git-subtree-dir: apollo-ios
git-subtree-mainline: a2c55d4
git-subtree-split: fa98d2c8f3371a19eb06b1a54085df356909ac92
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.

3 participants