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
Automatically update _redirects file #522
Comments
So I misread what this Sphinx module does, it tracks which files have redirect to one another, but not which URLs redirect to one another. These are the Sphinx-specific redirect modules I found:
Considering the options I think |
Thanks for doing the research! We could do a mob session for adding a package, and try to follow official documentation in order to see how well it works. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-04-24-documentation-team-meeting-notes-43/27558/1 |
Brief note from the meeting:
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-05-08-documentation-team-meeting-notes-46/27965/1 |
Some work that has been done on this can be found under: Look for the notes here to get an idea how the default.nix was created and how to run it: |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-06-01-documentation-team-meeting-notes-51/28635/1 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-07-27-documentation-team-meeting-notes-67/30998/1 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-07-27-learning-journey-working-group-meeting-notes-19/31151/1 |
Me, @yukiisbored, and @henrik-ch worked on this together and we have automatic redirects working with a couple of caveats:
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-10-05-documentation-team-meeting-notes-84/33877/1 |
See related PR. |
Manually keeping track of redirects is bound to fail when someone forgets. We should use automatic tooling to help us with this. There are tools like sphinxcontrib.redirects to help with this.
It doesn't sound like this package adds an HTTP status code at the end, but the fact that a changed
_redirects
file shows up ingit status
is enough to remind you that you may want to add one if the default 302 isn't sufficient.The text was updated successfully, but these errors were encountered: