Skip to content

[Backport 2.20-maintenance] fix location of _redirects file#9958

Merged
edolstra merged 1 commit into2.20-maintenancefrom
backport-9949-to-2.20-maintenance
Feb 7, 2024
Merged

[Backport 2.20-maintenance] fix location of _redirects file#9958
edolstra merged 1 commit into2.20-maintenancefrom
backport-9949-to-2.20-maintenance

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Feb 7, 2024

Automatic backport to 2.20-maintenance, triggered by a label in #9949.

the Netlify `_redirects` file must be in the root directory [0] of the
files to serve, and mdBook copies all the files in `src` that aren't
`.md` to the output directory [1].

[0]: https://docs.netlify.com/routing/redirects/
[1]: https://rust-lang.github.io/mdBook/guide/creating.html#source-files

(cherry picked from commit 2d74b56)
@github-actions github-actions bot requested a review from edolstra as a code owner February 7, 2024 10:35
@edolstra edolstra merged commit 86dfeeb into 2.20-maintenance Feb 7, 2024
@edolstra edolstra deleted the backport-9949-to-2.20-maintenance branch March 29, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants