File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3434 uses : dtolnay/rust-toolchain@stable
3535
3636 - name : Download tldr
37- run : curl https://tldr.sh/assets /tldr.zip -o docs/tldr.zip
37+ run : curl -L https://github.com/tldr-pages/tldr/releases/latest/download /tldr.zip -o docs/tldr.zip
3838
3939 - name : Generate documentation
4040 run : cargo run --bin uudoc --all-features
Original file line number Diff line number Diff line change @@ -140,7 +140,9 @@ fn print_tldr_error() {
140140 "To include examples in the documentation, download the tldr archive and put it in the docs/ folder."
141141 ) ;
142142 eprintln ! ( ) ;
143- eprintln ! ( " curl https://tldr.sh/assets/tldr.zip -o docs/tldr.zip" ) ;
143+ eprintln ! (
144+ " curl -L https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip -o docs/tldr.zip"
145+ ) ;
144146 eprintln ! ( ) ;
145147}
146148
You can’t perform that action at this time.
0 commit comments