Skip to content

Commit

Permalink
DOP-4452: Rehoming /docs/realm pages to /docs/atlas/device-sdks/ (#3223)
Browse files Browse the repository at this point in the history
## Pull Request Info

Jira ticket: https://jira.mongodb.org/browse/DOP-4452


[Here](https://mongodbcom-cdn.website.staging.corp.mongodb.com/docs-qa/atlas/device-sdks/)
is a staging link - unfortunately, however, redirects do not work in
preprod 😭

### Reminder Checklist

Before merging your PR, make sure to check a few things.

- [ ] Did you tag pages appropriately?
  - genre
  - meta.keywords
  - meta.description
- [x] Describe your PR's changes in the Release Notes section
- [ ] Create a Jira ticket for related docs-app-services work, if any

### Release Notes

This adds redirects from /docs/realm/ to /docs/atlas/device-sdks/ for
routes not covered by the [AWS bucket routing
rules](mongodb/docs-worker-pool#1026) added for
top-level directories. I believe I have covered all pages that still
seem to have content/exist (out of top-level routes), but might be
missing some things if they're hidden outside of the `/source` folder.

I also updated the title to be plural so that it shows up as such in the
sidenav.

<!--
- **Kotlin** SDK
- Realm/Manage Realm Files/Encrypt a Realm: Add information on
encryption for
    local and synced realms.
-->

### Review Guidelines


[REVIEWING.md](https://github.com/mongodb/docs-realm/blob/master/REVIEWING.md)
  • Loading branch information
mayaraman19 authored Apr 15, 2024
1 parent 17403ce commit bf093c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
define: prefix docs/realm
define: base https://www.mongodb.com/${prefix}
define: appServicesBase https://www.mongodb.com/docs/atlas/app-services
define: deviceSDKsBase https://www.mongodb.com/docs/atlas/device-sdks

raw: ${prefix}/tutorials -> ${base}/tutorial/
raw: ${prefix}/deploy/application-schema -> ${base}/deploy/application-configuration-files/
Expand Down Expand Up @@ -1290,4 +1291,12 @@ raw: ${prefix}/sdk/react-native/use-realm-react -> ${base}/sdk/react-native/api-

raw: ${prefix}/sdk/node/integrations/electron-cra -> ${base}/sdk/node/
raw: ${prefix}/sdk/node/integrations/electron -> ${base}/sdk/node/
raw: ${prefix}/sdk/node/integrations -> ${base}/sdk/node/
raw: ${prefix}/sdk/node/integrations -> ${base}/sdk/node/

# DOP-4255 Rehoming /docs/realm docs at /docs/atlas/device-sdks
raw: ${prefix} -> ${deviceSDKsBase}/
raw: ${prefix}/introduction -> ${deviceSDKsBase}/introduction/
raw: ${prefix}/realm-query-language -> ${deviceSDKsBase}/realm-query-language/
raw: ${prefix}/example-projects -> ${deviceSDKsBase}/example-projects/
raw: ${prefix}/help -> ${deviceSDKsBase}/help/
raw: ${prefix}/migrate -> ${deviceSDKsBase}/migrate/
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "realm"
title = "Atlas Device SDK"
title = "Atlas Device SDKs"

intersphinx = [
"https://www.mongodb.com/docs/manual/objects.inv",
Expand Down

0 comments on commit bf093c6

Please sign in to comment.