Skip to content

fix location of _redirects file#9949

Merged
edolstra merged 1 commit intoNixOS:masterfrom
fricklerhandwerk:fix-redirects-file
Feb 7, 2024
Merged

fix location of _redirects file#9949
edolstra merged 1 commit intoNixOS:masterfrom
fricklerhandwerk:fix-redirects-file

Conversation

@fricklerhandwerk
Copy link
Contributor

@fricklerhandwerk fricklerhandwerk commented Feb 6, 2024

Motivation

allow grabbing redirects from the build output, not just from the source

relevant for serving the Nix manual on nix.dev with proper redirects NixOS/nix.dev#863

Context

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

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

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
@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.13-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.14-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.15-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.16-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.17-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.18-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.19-maintenance:

@github-actions
Copy link

github-actions bot commented Feb 7, 2024

Successfully created backport PR for 2.20-maintenance:

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