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

Review for impacts of January's changes to redirects #6

Open
tsibley opened this issue Feb 7, 2024 · 1 comment
Open

Review for impacts of January's changes to redirects #6

tsibley opened this issue Feb 7, 2024 · 1 comment

Comments

@tsibley
Copy link
Member

tsibley commented Feb 7, 2024

https://blog.readthedocs.com/new-improvements-to-redirects/

Some of those seem like they might impact rtd project <name> redirects sync?

@tsibley
Copy link
Member Author

tsibley commented Feb 9, 2024

Suspicious

$ rtd projects nextstrain-cli redirects sync -f doc/redirects.yaml --dry-run
Creating: page /commands/ → /#commands
Creating: page /development/ → https://docs.nextstrain.org/en/latest/guides/contribute/cli-develop.html
Deleting: page /commands → /#commands (#22559)
Deleting: page /development → https://docs.nextstrain.org/en/latest/guides/contribute/cli-develop.html (#22560)

                                    Created                                     
                                                                                
  Type   From URL        To URL                                                 
 ────────────────────────────────────────────────────────────────────────────── 
  page   /commands/      /#commands                                             
  page   /development/   https://docs.nextstrain.org/en/latest/guides/contribute/cli-develop.html
                                                                                
                                    Deleted                                     
                                                                                
  Type   From URL       To URL                                                  
 ────────────────────────────────────────────────────────────────────────────── 
  page   /commands      /#commands                                              
  page   /development   https://docs.nextstrain.org/en/latest/guides/contribute/cli-develop.html
                                                                                
Created 2, deleted 2, kept 2.

No changes made in --dry-run mode.  Pass --wet-run for realsies.

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

No branches or pull requests

1 participant