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 /handbook redirect to docs.dandiarchive.org #2151

Merged
merged 9 commits into from
Jan 23, 2025

Conversation

kabilar
Copy link
Member

@kabilar kabilar commented Jan 23, 2025

Netlify docs on redirects: https://docs.netlify.com/routing/redirects/

@kabilar kabilar requested a review from waxlamp January 23, 2025 15:39
web/netlify.toml Outdated Show resolved Hide resolved
@kabilar kabilar changed the title Add handbook redirect to docs.dandiarchive.org Add /handbook redirect to docs.dandiarchive.org Jan 23, 2025
Netlify uses the first rule that matches, which in this case means that the specific handbook redirect rule needs to come above the `/*` rule.
This defaults to 301, which is likely what we want here.
@waxlamp waxlamp enabled auto-merge (squash) January 23, 2025 16:28
@waxlamp waxlamp merged commit d70b3a5 into dandi:master Jan 23, 2025
3 of 4 checks passed
@dandibot
Copy link
Member

🚀 PR was released in v0.4.13 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Jan 23, 2025
@kabilar
Copy link
Member Author

kabilar commented Jan 23, 2025

Thanks Roni. Confirming that this works as intended.

mvandenburgh pushed a commit that referenced this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants