Merge pull request #9584 from dgilman/main

use github URLs for fetching tldr.zip
This commit is contained in:
Daniel Hofstetter
2025-12-08 09:24:45 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -140,7 +140,9 @@ fn print_tldr_error() {
"To include examples in the documentation, download the tldr archive and put it in the docs/ folder."
);
eprintln!();
eprintln!(" curl https://tldr.sh/assets/tldr.zip -o docs/tldr.zip");
eprintln!(
" curl -L https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip -o docs/tldr.zip"
);
eprintln!();
}