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

Add redirects for broken API URLs #99

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

jordan-smith721
Copy link
Contributor

@jordan-smith721 jordan-smith721 commented Jan 30, 2025

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-46957

Staging Links

No pages to preview

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for docs-mongoid ready!

Name Link
🔨 Latest commit a77f0a4
🔍 Latest deploy log https://app.netlify.com/sites/docs-mongoid/deploys/67a0cedbb223110008a09352
😎 Deploy Preview https://deploy-preview-99--docs-mongoid.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.

config/redirects Outdated
Comment on lines 75 to 77
[v9.0-*]: ${prefix}/${version}/api/Mongoid/Association/Referenced/NestedAttributes.html -> ${prefix}/${version}/api/Mongoid/Association/Referenced.html
[*-master]: ${prefix}/${version}/api/Mongoid/Config/Introspection.html -> ${prefix}/${version}/api/Mongoid/Config.html
[*-master]: ${prefix}/${version}/api/Mongoid/Config/Introspection/Option.html -> ${prefix}/${version}/api/Mongoid/Config.html
Copy link
Collaborator

Choose a reason for hiding this comment

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

I: on the right side of the redirect, use ${base}/${version}

@jordan-smith721 jordan-smith721 merged commit 8ce8afa into mongodb:master Feb 3, 2025
5 checks passed
@jordan-smith721 jordan-smith721 deleted the 404-api-redirects branch February 3, 2025 14:18
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.

2 participants